PragmaTwice commented on PR #1790:
URL: https://github.com/apache/kvrocks/pull/1790#issuecomment-1741959419

   > Yes, that's a nice solution as well. `GetInstantaneousMetric` only be used 
in the info command and those values are inside memory, so I guess it'd be good 
to have a read lock here.
   
   It seems TrackInstantaneousMetric is called in a server cron (every 100ms?), 
so I am wondering if it can downgrade the performance of the cron cycle.


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