315157973 opened a new pull request #12045:
URL: https://github.com/apache/pulsar/pull/12045


   ### Motivation
   Cache Eviction is executed every 100ms by default, and the frequency is very 
high. I have observed that it produces a lot of garbage
   
![image](https://user-images.githubusercontent.com/9758905/133396233-b149f4f7-2607-4dc6-a9fa-b28d475b97df.png)
   
   The optimized memory is as follow:
   
![image](https://user-images.githubusercontent.com/9758905/133396367-2d5d54bd-d5df-426b-b85c-99832995e34a.png)
   
   
   ### Modifications
   1)When there is no cache, no longer check
   2)Avoid traversing all cursors
   
   ### Documentation
   
   no-need-doc 
   
   
   


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

To unsubscribe, e-mail: commits-unsubscr...@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to