Re: High kafka latency on simple benchmark

2021-08-09 Thread Piotr Smolinski
Having a brief look on your repo I have noticed at least two major API usage issues: 1. When you issue Producer#send you get a future object. It is up to the producer to choose the correct time to send. If you really need to send the messages one by one you should execute Producer#flush and then w

[jira] [Created] (KAFKA-13179) High kafka latency on simple benchmark

2021-08-09 Thread Vitaly Romashkin (Jira)
Vitaly Romashkin created KAFKA-13179: Summary: High kafka latency on simple benchmark Key: KAFKA-13179 URL: https://issues.apache.org/jira/browse/KAFKA-13179 Project: Kafka Issue Type

High kafka latency on simple benchmark

2021-08-08 Thread Виталий Ромашкин
Hi Devs,   Currently, I am bench-marking different transports. The first one is Kafka. I created a repo in my GitHub — https://github.com/rvit34/transport-benchmark The result for Kafka is not so good. For RPS 25K and higher latency is about 1second and higher. Maybe I'm doing something complete