-
Notifications
You must be signed in to change notification settings - Fork 43
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
Recycle serialization buffers on transmission #342
base: rolling
Are you sure you want to change the base?
Conversation
The aim of this pull request is to fix high latency for relatively large topics (e.g. 1 MB dd82e84
401016c
401016c + eed223a
|
16df6fe
to
401016c
Compare
All right, now that we've merged in #327 , we can consider this one. Please rebase this onto the latest, then we can do a full review of it. Until then, I'll mark it as a draft. |
401016c
to
62cb09b
Compare
068cf50
to
21006d0
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There are also many changes unrelated with the goal of this PR
7ca544b
to
bb6fd88
Compare
There was a formatting error from my IDE. I've restored the files and manually re-applied the patches. |
515c43a
to
8dd9bf5
Compare
Adds a bounded LIFO buffer pool in the context to reuse buffers allocated on serialization. The aim is not (only) to avoid the overhead of dynamic allocation but rather to enhance the cache locality of serialization buffers.
8dd9bf5
to
bcc36a1
Compare
Adds a LIFO buffer pool in the context to reuse buffers allocated on serialization. The aim is not (only) to avoid the overhead of dynamic allocation but rather to enhance the cache locality of serialization buffers.