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/17 17:25:00 UTC

[GitHub] [pulsar] merlimat opened a new pull request #4066: Allow to configure the managed ledger cache eviction frequency

merlimat opened a new pull request #4066: Allow to configure the managed ledger cache eviction frequency
URL: https://github.com/apache/pulsar/pull/4066
 
 
   ### Motivation
   
   Currently there's a rate limiter that avoid evicting from cache each time the read position is updated but rather only does that every 1 sec at max. The primary reason is to avoid mutex contention across different cursors trying to trigger the eviction in parallel.
   
   The frequency should be higher though, to make sure we promptly discard all entries once all active cursors have moved past a particular point.
   
   ### Modifications
    * Allow to configure the frequency from `broker.conf`
    * Increased default to 100/s
   

----------------------------------------------------------------
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