-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
First request to downstream service extremely slow #1630
Comments
It seems, that it is related to the DNS. |
Is this issue resolved? I have an issue in which on first gateway call to services it took around 2 secs then on second call it will be much faster but after sometime it will again go 2 secs and then next call would be much faster again. This is currently deployed on IIS. I did setup the IIS like on this article |
After doing some debugging, I figured out, that it seems to be related to the DNS. Also compare these threads:
You could give it a try and use the SocketsHttpHandler to solve that issue. When I started to configure all downstreams using the IP, calls were much faster. |
Expected Behavior
All calls to the downstream services should be similarly fast.
Actual Behavior
Steps to Reproduce the Problem
Specifications
The text was updated successfully, but these errors were encountered: