[JAVA-4518] Prune idle buffers in buffer pool Created: 06/Mar/22 Updated: 28/Oct/23 Resolved: 10/Mar/22 |
|
| Status: | Closed |
| Project: | Java Driver |
| Component/s: | Performance |
| Affects Version/s: | None |
| Fix Version/s: | 4.6.0 |
| Type: | New Feature | Priority: | Major - P3 |
| Reporter: | Jeffrey Yemin | Assignee: | Jeffrey Yemin |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||
| Documentation Changes: | Needed | ||||||||
| Description |
|
PowerOfTwoBufferPool should prune idle buffers. By default, it could prune any buffer that has been idle for more than one minute. Probably no need to configure the pruning behavior. Since we currently don't prune at all, just doing anything would be an improvement. |
| Comments |
| Comment by Githook User [ 10/Mar/22 ] |
|
Author: {'name': 'Jeff Yemin', 'email': 'jeff.yemin@mongodb.com', 'username': 'jyemin'}Message: Make buffer pool shared and support pruning (#887)
|