You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@zookeeper.apache.org by "Li Wang (Jira)" <ji...@apache.org> on 2021/05/04 01:14:00 UTC

[jira] [Created] (ZOOKEEPER-4289) Reduce the performance impact of Prometheus metrics

Li Wang created ZOOKEEPER-4289:
----------------------------------

             Summary: Reduce the performance impact of Prometheus metrics
                 Key: ZOOKEEPER-4289
                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-4289
             Project: ZooKeeper
          Issue Type: Improvement
          Components: metric system
    Affects Versions: 3.6.2, 3.7.0, 3.6.3, 3.8.0, 3.7.1
            Reporter: Li Wang


I have done load comparison tests for Prometheus enabled vs disabled and found the performance is reduced about 40%-60% for both read and write operations (i.e. getData, getChildren and createNode). 

Looked more into this and found that Prometheus Summary is very expensive and there are more than 20 Summary metrics added to the new CommitProcessor.

Need a solution to reduce the impact of Prometheus metrics.






--
This message was sent by Atlassian Jira
(v8.3.4#803005)