Better control over DNS lookups
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 30/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- python
- Domain
- networking
Research direction
Start by tracing the hostname-resolution path named in the issue: requests, urllib3, http.client, and socket. Compare the manual-resolution and IP-caching suggestions, then verify that the chosen approach provides controlled DNS timing without changing the REST client’s expected behavior.
Written by the indexing model from the issue text.
Description
Currently, hostname resolution is done implicitly via requests -> urllib3 -> http.client -> socket. Connection timeout does not include the DNS timeout, so requests on a system with broken DNS take prohibitively long.
We could:
- resolve the hostname manually, and gain control over timeout (suggestion here),
- cache the IP address.
- Dominant language
- Python
- Stars
- 63
- Forks
- 44
- Avg merge
- 2d 9h
- Merged PRs (30d)
- 2
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from dwavesystems/dwave-cloud-client
-
Add return typehints to sample_ functionsPossibly taken A pull request linked to this issue is open or already merged. Open
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
feature
Difficulty 5/5 Over a week Newbie friendliness 35/100
-
Difficulty 5/5 Over a week Newbie friendliness 35/100
dwavesystems/dwave-cloud-client#748 · 1 reaction ·
-
feature
Difficulty 4/5 3-5 days Newbie friendliness 45/100
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
dwavesystems/dwave-cloud-client#738 · 1 comment ·
All issues in dwavesystems/dwave-cloud-client
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
NousResearch/hermes-agent#140958 ·
Maintainers usually reply within 1 day
-
Bisect issue233186Openbisect
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
dtcxzyw/llvm-bisect-service#548 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
sallowayma-git/IELTS-practice#248 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 65/100
anthropics/claude-plugins-official#6763 · 10 comments · 10 reactions ·
Maintainers usually reply within 3 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
Maintainers usually reply within 1 day