-
-
Notifications
You must be signed in to change notification settings - Fork 189
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
client: fix request buffer pool, readd pnr pool
Previously, we were not keeping the inflated buffer, we would put back into our pool the original buffer. This fixes that, which drastically reduces garbage for produce requests. Secondly, after the multiple producer improvements, I'm more confident in adding a pnr pool similar to the one that originally existed. The only difference now is that the pnr pool is scoped per client, rather than globally, so it is safer in the face of races. Again though, after the previous reduxes, I'm more confident in the pool to begin with.
- Loading branch information
Showing
3 changed files
with
29 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters