[JAVA-4614] Benchmark buffer pool Created: 16/May/22  Updated: 27/Sep/23

Status: Backlog
Project: Java Driver
Component/s: Performance
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Unknown
Reporter: Jeffrey Yemin Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: tech-debt
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Quarter: FY24Q4
Documentation Changes Summary:

1. What would you like to communicate to the user about this feature?
2. Would you like the user to see examples of the syntax and/or executable code and its output?
3. Which versions of the driver/connector does this apply to?


 Description   

The PowerOfTwoBufferPool was created almost 10 years ago, when Java's GC landscape was very different. Since then, the G1 collector has become the default. We should re-examine whether the buffer pool remains effective in its goal of improving overall application throughput. Questions to consider:

  1. Should the driver pool buffers at all?
  2. Should we increase the buffer size at which we start to pool? Currently we pool buffers of any size, but in practice the smallest buffer size requested is 1K.
  3. Does the effectiveness of pooling change significantly between Java 8, 11, and 17?
  4. Does the choice of collector or tuning of the collector significantly change the effectiveness of pooling?

Generated at Thu Feb 08 09:02:32 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.