Help me understand the connection pool #2334
Unanswered
Kampfkarren
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, I have on a Docker Swarm a node that fires out GETs to a node on the swarm, like
http://my_service.local
. There's a lot of nodes in the swarm that have that host, and the intent was that firing out::get
would pick a different one every time. Docker uses a round-robin DNS to make this happen.However, when I reused a client, it would use the same node over and over again for a repeated amount of time. This stumped me for several days, and it was solved once I made a fresh client every time.
I would like to know this:
Much appreciated!
Beta Was this translation helpful? Give feedback.
All reactions