You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Li Wang (Jira)" <ji...@apache.org> on 2025/07/21 17:55:00 UTC

[jira] [Created] (ZOOKEEPER-4951) Optimize the default PrometheusMetricsProvider queue size

Li Wang created ZOOKEEPER-4951:
----------------------------------

             Summary: Optimize the default PrometheusMetricsProvider queue size
                 Key: ZOOKEEPER-4951
                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-4951
             Project: ZooKeeper
          Issue Type: Improvement
          Components: metric system
    Affects Versions: 3.9.3, 3.9.2, 3.8.4, 3.9.1, 3.8.3, 3.8.2, 3.8.1
            Reporter: Li Wang


As part of ZOOKEEPER-4289,  Prometheus summary reporting is handled as an async operation using a queue. The default max queue size is 1M.

We have done perf tests with different queue sizes and found the optimal size is 10k.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)