You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pulsar.apache.org by gi...@git.apache.org on 2017/08/01 19:34:31 UTC

[GitHub] merlimat opened a new pull request #613: Reduce memory usage in producer and subscriptions maps

merlimat opened a new pull request #613: Reduce memory usage in producer and subscriptions maps
URL: https://github.com/apache/incubator-pulsar/pull/613
 
 
   ### Motivation
   
   In the topic object, we're creating a map to reference producers, subscriptions and replicators. This map is not heavily contented and in most cases it would have far less than 256 items on it. 
   
   ### Modifications
   
   Reduce the expected items from the default of 256 to 16 and use a single hash-table section instead of default of 16.
 
----------------------------------------------------------------
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