Skip to content

Http2: Need connection policy for maximum streams per upstream connection #7403

@conqerAtapple

Description

@conqerAtapple

Issue Template

Title: *Http2: Need connection policy to allow and control multiple upstream connections. *

Description:

This is related to #7217.

Current default upstream connection scheme doesnt allow you to set a maximum number of streams allowed per connection. This causes upstream load balancing issues as some connections could carry more streams. For example: when upstream is a multiprocess server with shared socket, only few workers receive all the streams.

A connection policy that gives configurable parameters to manage maximum number of streams per upstream connections is needed to solve this problem.

Some implementation approaches:

Essentially we need to :

  • Enqueue the stream if current client stream count exceeds the configured maximum
  • Create a new connection
  • Process the enqueued stream/request in the context of the new connection.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions