[英]Apache Kafka Producer Throughput and Latency
I made a Kafka Cluster on my local machine and I was testing creating producers with different Throughput to see what happens to the latency.我在我的本地机器上创建了一个 Kafka 集群,我正在测试创建具有不同吞吐量的生产者以查看延迟会发生什么。
I used the kafka-test-perf benchmark to these tests https://docs.cloudera.com/runtime/7.2.10/kafka-managing/topics/kafka-manage-cli-perf-test.html我使用 kafka-test-perf 基准测试这些测试https://docs.cloudera.com/runtime/7.2.10/kafka-managing/topics/kafka-manage-cli-perf-test.html
I made different tests changing the throughput for the kafka producer.我做了不同的测试来改变 kafka 生产者的吞吐量。
Test 1: 2 Throughput
Test 2: 200 Throughput
Test 3: 2,000 Throughput
Test 4: 20,000 Throughput
Test 5: 200,000 Throughput
Throughput for Kafka Producer Kafka 生产者的吞吐量
For my perspective the throughput is the number of messages that arrive in a given amount of time.在我看来,吞吐量是在给定时间内到达的消息数。
For all tests the throughput it´s equal to the records sent by sec, except for Test 5, where the records sent by sec is 22k records/sec.对于所有测试,吞吐量等于秒发送的记录,除了测试 5,其中秒发送的记录为 22k 记录/秒。 Does this mean that my producer can not handle this type of throughput?这是否意味着我的生产者无法处理这种类型的吞吐量?
I am trying to understand the meaning of this.我试图理解这句话的意思。
I ran a lot of tests.我进行了很多测试。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.