-
Notifications
You must be signed in to change notification settings - Fork 3.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[internal] Investigate fetch timings when Socket is reused #32960
Comments
To answer the questions, here's what I think our behaviour should be:
|
My hypothesis for #32956 was that we're reusing Sockets. Now that i'm looking more into this, i'm less sure about it. The default Node.js Agent does reuse Sockets, but we use our own Happy Eyeballs implementation. Judging by its code, it doesn't reuse Sockets. I'll need to investigate that more. |
Oh, |
Closes #32960 If the socket is reused, the connect and DNS timings are set to -1, because that timing doesn't apply to the current request. The time between request start and the socket being free is counted as `blocked`.
Originally posted by @dgozman in #32956 (comment)
The text was updated successfully, but these errors were encountered: