[ 
https://issues.apache.org/jira/browse/HDDS-13014?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ivan Andika updated HDDS-13014:
-------------------------------
    Summary: Improve PrometheusMetricsSink#normalizeName performance  (was: 
Improve PrometheusMetricsSink#putMetrics performance)

> Improve PrometheusMetricsSink#normalizeName performance
> -------------------------------------------------------
>
>                 Key: HDDS-13014
>                 URL: https://issues.apache.org/jira/browse/HDDS-13014
>             Project: Apache Ozone
>          Issue Type: Improvement
>            Reporter: Ivan Andika
>            Assignee: Ivan Andika
>            Priority: Major
>         Attachments: s3g-5m-flamegraph.html
>
>
> From the 5 minutes flamegraph of S3G, we see that nearly 40% of the CPU usage 
> are spent on PrometheusMetrics#putMetrics.
> Moreover, 30% of the CPU usage are attributed only for 
> PrometheusMetricsSinkUtil#prometheusName. We see that most of the time are 
> spent on regex matching.
> We need to find a way to improve the performance, possibly removing regex 
> matching entirely.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@ozone.apache.org
For additional commands, e-mail: issues-h...@ozone.apache.org

Reply via email to