reactor-netty
reactor-netty copied to clipboard
Experiment Concurrent Pools in HTTP/2 Connection Pool
This draft PR experiments the concurrent pools feature (work in progress) from https://github.com/reactor/reactor-pool/pull/179 applied to Reactor Netty HTTP/2 Connection Pool.
For the moment, workStealing mode can only be configured for HTTP/2 HttpClient via a new enableWorkStealing method added in Http2AllocationStrategy interface.
So, basically, when an HttpClient is configured with work stealing mode, sub pools (Http2Pool instances) will be created and assigned to each HttpClient's Event Loops, and HTTP2 Connection acquisition tasks will be distributed across all sub pools.
This benchmarks projects can be used to experiment the new client. See the README for the details.
This work is still in progress. Ideally, this PR could be merged into a temporary reactor-netty branch for easier finalization. To be confirmed by the Reactor Netty team.
Updated the PR, work still in progress.
rebased on top of latest reactor-netty version in order to pick up #3030
Rebased with latest main branch.
rebased on top of latest main.
maybe this draft PR will be removed at some point. in the meantime, just rebased this PR on top of latest branch.