Skip to content

resolver: increase default idle conns reuse#2242

Merged
AkihiroSuda merged 1 commit intomoby:masterfrom
tonistiigi:idle-conns
Jul 15, 2021
Merged

resolver: increase default idle conns reuse#2242
AkihiroSuda merged 1 commit intomoby:masterfrom
tonistiigi:idle-conns

Conversation

@tonistiigi
Copy link
Copy Markdown
Member

Some of the current default were even lower than stdlib defaults.

Stdlib defaults:

  • MaxIdleConns 100
  • IdleTimeout 90sec
  • IdlePerHost 2

Signed-off-by: Tonis Tiigi tonistiigi@gmail.com

The current default were even lower than stdlib defaults.

Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
@tonistiigi
Copy link
Copy Markdown
Member Author

I didn't increase max conns to full stdlib default and increased per-host a bit instead because I think these are more for general purpose cases, while in our case it is more likely to have a small number of registries that receive lots of requests.

@tonistiigi tonistiigi added this to the v0.9.0 milestone Jul 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants