-
Type: Task
-
Resolution: Unresolved
-
Priority: Unknown
-
None
-
Affects Version/s: None
-
Component/s: Performance
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:
- Should the driver pool buffers at all?
- 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.
- Does the effectiveness of pooling change significantly between Java 8, 11, 17, 21, ...?
- Does the choice of collector or tuning of the collector significantly change the effectiveness of pooling?