You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2019/04/22 22:23:25 UTC
[GitHub] [pulsar] merlimat opened a new pull request #4102: Reduce number of
hashmap sections for ledger handles cache
merlimat opened a new pull request #4102: Reduce number of hashmap sections for ledger handles cache
URL: https://github.com/apache/pulsar/pull/4102
### Motivation
The default for `ConcurrentLongHashMap` is to use 16 sections for more lock granularity. This is not needed in the context of the ledger handles cache since this is mostly a read-only map.
Reducing the sections will reduce the amount of objects and mem used per topic.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to 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