You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Ewen Cheslack-Postava (JIRA)" <ji...@apache.org> on 2014/12/05 03:13:12 UTC
[jira] [Created] (KAFKA-1807) Improve accuracy of
ProducerPerformance target throughput
Ewen Cheslack-Postava created KAFKA-1807:
--------------------------------------------
Summary: Improve accuracy of ProducerPerformance target throughput
Key: KAFKA-1807
URL: https://issues.apache.org/jira/browse/KAFKA-1807
Project: Kafka
Issue Type: Improvement
Components: clients, tools
Affects Versions: 0.8.1.1
Reporter: Ewen Cheslack-Postava
Assignee: Ewen Cheslack-Postava
Priority: Minor
Fix For: 0.8.3
The code in ProducerPerformance that tries to match a target throughput is very inaccurate because it doesn't account for time spent sending messages. Since we have to get the current time to timestamp the messages, we can be much more accurate by computing the current rate over the entire run and only add to the sleep deficit if we're above the target rate.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)