swift-server / swift-server/async-http-client
provide information about various timings (queue, connect, ...) to user via delegate (or otherwise)
Open
Nobody has claimed this yet.
- Dominant language
- Swift
- Stars
- 1.1k
- Forks
- 156
- PR merge metrics
- No merged PRs in 30d
Description
With AsyncHTTPClient, the user currently struggles to calculate some timings. For example what's impossible to calculate accurately at the moment is:
- How long did this request spend in the connection pool queue
- How long did it take to make a connection (if one didn't already exist)
- How long did it take to send the request
- DNS timings
These should be available to a user.
Contributor guide
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.
Research direction
Start by tracing the AsyncHTTPClient request lifecycle and reviewing its existing delegate APIs. Determine how queue, connection, request-send, and DNS phases are represented, then define an API that exposes those timings to users. Done means users can obtain accurate values for each applicable phase.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- swift
- Domain
- networking, observability
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100