You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@bookkeeper.apache.org by GitBox <gi...@apache.org> on 2018/05/21 20:00:28 UTC

[GitHub] sijie opened a new pull request #1419: Pooling EntryKey & EntryKeyValue

sijie opened a new pull request #1419: Pooling EntryKey & EntryKeyValue
URL: https://github.com/apache/bookkeeper/pull/1419
 
 
   Descriptions of the changes in this PR:
   
   *Motivation*
   
   The `EntryKey` and `EntryKeyValue` are allocated for almost every requests. So the object allocation rate can be increased along with the request throughput.
   
   *Solution*
   
   Pooling `EntryKey` and `EntryKeyValue` using netty object pools to reduce object allocation.
   
   - Make EntryKey as interface
   - EntryKeyImpl and EntryKeyValue are the implementations of `EntryKey`.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services