-
Notifications
You must be signed in to change notification settings - Fork 387
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
alpakka throughput is not as claimed #1331
Comments
Reproducing benchmarks results is always a challenge. The numbers from the post were not suggesting a baseline performance metric. The point was to visualize the before and after metrics relative to each other that resulted from the improvement in the Kafka consumer. The cluster was local to the consumer (running as docker containers) and the following criteria was used as listed in the post:
There were no external network calls or sources of back-pressure (i.e. an elasticsearch flow or sink, if that's present in your stream). |
I am also doing this test on the local machine with 8core and 16GB RAM. Please could you suggest if anything need to be changed on code side |
You haven't provided enough information for me to give you any advice. How large is your local cluster, how many partitions are you using, what is the topic replication factor, what is the message size, what are your consumer properties, etc. |
I am having a local cluster with 1 partition, 1 replicas , and message i am using is very small My Consumer property is as below- ConsumerSettings<Integer, String> kafkaConsumerSettings = Please let me know if you need any additional information. |
I used this benchmark test to produce the results for the blog post. It will output a csv with rows of values representing metrics from brokers and the Kafka consumer client at various time intervals during the test. My machine at the time was a Lenovo X1 Carbon 5th with 16GB ram, max CPU at the time (2 core, 4 with ht), and a SSD. |
i am using MAC with 16GB RAM, 8 core and SSD |
Hi Team,
I am trying to use the alpakka-kafka and my consumer throughput in nowhere as claimed in the article -
https://www.lightbend.com/blog/alpakka-kafka-flow-control-optimizations
My Consumer code is as following-
Please could someone help me if i am doing something wrong here.Library used here-
The text was updated successfully, but these errors were encountered: