Skip to content

add per domain semaphore to limit concurrent connections#2247

Merged
AkihiroSuda merged 1 commit intomoby:masterfrom
tonistiigi:transfer-semaphore
Jul 14, 2021
Merged

add per domain semaphore to limit concurrent connections#2247
AkihiroSuda merged 1 commit intomoby:masterfrom
tonistiigi:transfer-semaphore

Conversation

@tonistiigi
Copy link
Copy Markdown
Member

This is a safer alternative until we figure out why
http.Transport based limiting fails.

Some connections like cache export/import do not have a
domain key atm and these connections use a global pool.

Previous attempt #1986

@robtaylor @michaelhelmick

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

@tonistiigi tonistiigi requested review from AkihiroSuda and sipsma July 13, 2021 05:33
@tonistiigi tonistiigi added this to the v0.9.0 milestone Jul 13, 2021
This is a safer alternative until we figure out why
http.Transport based limiting fails.

Some connections like cache export/import do not have a
domain key atm and these connections use global pool.

Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
@tonistiigi tonistiigi force-pushed the transfer-semaphore branch from 2a8f414 to a558ac4 Compare July 13, 2021 21:08
Copy link
Copy Markdown
Collaborator

@sipsma sipsma left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@tonistiigi
Copy link
Copy Markdown
Member Author

@AkihiroSuda lgty?

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.

3 participants