Add OFFLOCK pool concurrency policy backed by RouteSegmentedConnPool#765
Add OFFLOCK pool concurrency policy backed by RouteSegmentedConnPool#765arturobernalg merged 1 commit intoapache:masterfrom
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.