Skip to content
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

Add connection pooling for H2 #2253

Open
adleong opened this issue Mar 18, 2019 · 0 comments
Open

Add connection pooling for H2 #2253

adleong opened this issue Mar 18, 2019 · 0 comments

Comments

@adleong
Copy link
Member

adleong commented Mar 18, 2019

Linkerd's H2 protocol uses the SingletonPool for connection pooling. This means that all requests for an address multiplex on the same connection. This works great until maxStreamsPerConnection is reached, at which point, additional requests will fail until an existing stream completes.

While this backpressure behavior is desirable, it can also be limiting, especially when talking to a server with a low value for maxStreamConnection.

We should create a connection pooling module that allows additional connections to be established and pooled when the number of concurrent requests exceeds the maximum number of streams a single connection can support.

Related to #2251

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Development

No branches or pull requests

1 participant