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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to