Skip to content

Add connection pooling for H2 #2253

Open

Description

@adleong

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions