You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Divij Vaidya (Jira)" <ji...@apache.org> on 2022/11/28 11:18:00 UTC
[jira] [Created] (KAFKA-14423) Optimize CPU bottleneck caused by metrics capture
Divij Vaidya created KAFKA-14423:
------------------------------------
Summary: Optimize CPU bottleneck caused by metrics capture
Key: KAFKA-14423
URL: https://issues.apache.org/jira/browse/KAFKA-14423
Project: Kafka
Issue Type: Improvement
Components: network
Reporter: Divij Vaidya
Attachments: Screenshot 2022-11-28 at 12.11.23.png
I ran a produce-only workload on a plaintext single broker. One of the main findings was that kafka.network.Processor.updateRequestMetrics(kafka.network.RequestChannel$Response method is expensive to the extent that 90% of the time taken by Processor.processCompletedSends() is taken by this method.
The flamegraph is attached.
The objective of this ticket is to optimize the performance of metrics collection here.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)