lhotari commented on PR #25173:
URL: https://github.com/apache/pulsar/pull/25173#issuecomment-3783831979

   > The metadata store thread even spends much more CPU time than the 
`bookkeeper-ml` worker threads.
   
   It's not related to this PIP, but there's also a possibility to save CPU in 
derialization. Due to consistency reasons, the MetadataStore cache entries 
expire after 10 minutes. There's a background refresh in use which means that 
if the entry has been used before it expires, a new refresh will happen in the 
background between 5 to 10 minutes from the last refresh.
   In many cases, there haven't been any changes since the last refresh. 
Therefore the deserialization step is completely unnecessary when there haven't 
been any changes. The previous serialized instance could be used.


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to