net/http: DefaultClient.Get is painfully slow #28188
Closed
Labels
Comments
This may be due to the DNS resolution issues that we have been having. Probably a dup of #21906 Can you check with 1.11.1 ? This got backported. Also, please run with httptrace (#21906 (comment)) so that we know which part of the request is slow. |
That was it, thanks. With Go 1.11.1 it's 600-700ms. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
What version of Go are you using (
go version
)?go version go1.11 linux/amd64
Does this issue reproduce with the latest release?
Yes.
What operating system and processor architecture are you using (
go env
)?What did you do?
What did you expect to see?
The request is completed in 1 second at most.
What did you see instead?
The request takes almost 11 seconds:
10.813319159s
wget does the same request in under 1 second.
The text was updated successfully, but these errors were encountered: