Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement a byte array pool for DequeueInternal #12

Open
akash14darshan opened this issue Jun 12, 2021 · 1 comment
Open

Implement a byte array pool for DequeueInternal #12

akash14darshan opened this issue Jun 12, 2021 · 1 comment

Comments

@akash14darshan
Copy link

Currently since we allocate a new byte array for every ByteBuffer dequeue we make, it may not be very efficient for high loaded server since it will increase gc by a lot.

Alternatively, a custom byte array pool can be implemented to handle this for performance reasons so that we do less allocations

@ygoe
Copy link
Owner

ygoe commented Aug 1, 2021

Can you please describe the problem in more detail?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants