Use of ByteBufferPool
@xiahome is already working on this.
Since Jul 13, 2016.
- Dominant language
- Java
- Stars
- 1.8k
- Forks
- 298
- Avg merge
- 21h 43m
- Merged PRs (30d)
- 9
Description
Creating this issue to start an initial discussion on and list places where the `ByteBufferPool` can be used. Some of the tasks will require issues of their own.
P.1) Improve the current implementation of `ByteBufferPool` (`SimpleByteBufferPool`) or create a new implementation that actually pools buffers. This will require design documentation and discussions.
P.2) Use the `ByteBufferPool` (this is independent of P.1) in the `NonBlockingRouter` while filling chunks and also in `BoundedByteBufferReceive`. Using it in `BoundedByteBufferReceive` might require a bit of effort but it has to be done for pooling to be correct and effective since GETs are expected to be a large chunk of traffic in any use-case involving Ambry.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.