zookeeper-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anmolnar <...@git.apache.org>
Subject [GitHub] zookeeper issue #415: ZOOKEEPER-2939: Added last/min/max proposal size JMX b...
Date Thu, 14 Dec 2017 14:34:33 GMT
Github user anmolnar commented on the issue:

    @phunt That's a perfectly valid point Pat, I've been asked about it several times before.
Therefore I added some more comments to the parent Jira of monitoring, please take a look
at the description: https://issues.apache.org/jira/browse/ZOOKEEPER-2933
    I've also populated the description of subtasks too to help understanding them.
    Regarding to statistics tracking in Zookeeper: I wonder how much does it make sense to
implementing something complicated within the server. One approach (which this PR tries to
follow) is to expose basic values which can be sampled by a more sophisticated monitoring
tool. Average, sliding window, etc. can be implemented in there. 
    On the other hand we could add some more clever logic to ZK as well such as 
    Basically calculating percentiles (50-90-99-Median-Max-etc.) with the appropriate library
and expose the values with JMX. This will probably require us to gather samples with a sliding
window within Zookeeper.


View raw message