Skip to content

Reduce contention and disposer back-pressure in RouteSegmentedConnPool#668

Open
arturobernalg wants to merge 1 commit into
apache:masterfrom
arturobernalg:back-pressure
Open

Reduce contention and disposer back-pressure in RouteSegmentedConnPool#668
arturobernalg wants to merge 1 commit into
apache:masterfrom
arturobernalg:back-pressure

Conversation

@arturobernalg
Copy link
Copy Markdown
Member

lease/release allocated and contended where the work was not needed, and the bounded disposer saturated under sustained slow GRACEFULcloses, falling back to caller-thread IMMEDIATE close and stalling IO threads.

Run Routes Master ops/s Optimised ops/s Δ
16 cores, 3 forks 10 822.42 ± 37.25 1150.95 ± 125.49 +39.9 %
16 cores, 3 forks 50 1008.36 ± 13.79 1636.12 ± 107.50 +62.2 %
4 cores, 1 fork 50 967.83 ± 37.78 1746.39 ± 84.37 +80.4 %

…l. Lazy waiter-skip deque, skip enqueue/drain when no waiters, O(1) late-hit completion, and a properly sized timed-out disposer pool.
@ok2c
Copy link
Copy Markdown
Member

ok2c commented May 16, 2026

@arturobernalg Generally pull requests that do not introduce new features or make big changes to the core protocol components do not require a peer review and an explicit approval. This is your area of expertise and responsibility. Merge such PRs if no objections have been raised within a few days.

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.

2 participants