-
Notifications
You must be signed in to change notification settings - Fork 985
Add OFFLOCK pool concurrency policy backed by RouteSegmentedConnPool #765
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
Conversation
Wire PoolingHttpClientConnectionManager to use RouteSegmentedConnPool when OFFLOCK is selected.
|
What "OFFLOCK" mean? |
|
Thank you for the explanation @arturobernalg So the bottom line is that this is not a "lock Any other name would be better IMO. |
OFFLOCK selects the segmented pool implementation and routes slow graceful closes off the hot pool locks to reduce lock contention. The name reflects that intent; |
|
@arturobernalg Please consider writing up a short connection management guide for the website |
I believe this technique is commonly known as lock striping. |
@ok2c done |
|
@arturobernalg You may want to cherry-pick this change-set to |
…765) Wire PoolingHttpClientConnectionManager to use RouteSegmentedConnPool when OFFLOCK is selected.
Wasn't this feature previously implemented for the |
|
@rschmitt We will not know how well |
Wire PoolingHttpClientConnectionManager to use RouteSegmentedConnPool when OFFLOCK is selected.