-
Notifications
You must be signed in to change notification settings - Fork 38
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
Benchmarks #200
base: master
Are you sure you want to change the base?
Benchmarks #200
Conversation
Awesome, I'm very happy to see it! |
5b6f1e5
to
b1d4da6
Compare
@Avasil have done progress on this one ☝️ Finally, the benchmarks are structured as follows: Consumer Observable
Single Producer
Sink Producer
If you think there should other scenarios contemplated, please suggest :) |
Fantastic, I hope I can finally find some time to update the library 😅
I remember this blog post from a while ago. We could do something similar, that is compare vs plain Kafka producer/consumer to see what kind of overhead do we introduce |
Writing a blog pos would be nice, even we could include that in the web docs once they get merged. |
I've meant more as a benchmark scenario - I'm hesitant to advertise benchmarks here because the inaccuracy / error is very high ( e.g. 49.599 ± 12.737 ) and well, the library really needs an update :D
It would be awesome to pick up and fix the issue described in #104 Some stuff is on me, like checking out your docs PR. Other than that, I would probably release a version (1.0.0?) that is similar to the current master and then remove all version-specific modules, maybe do some refactoring around Serializers, returning Consumer as a Resource etc. and release as 2.0.0 soon after. But that's more "mid-term" |
Yup, the error is quite high, do you know if using jmh it is possible to replicate benchmarks that the blog post is exposing? They seem quite general, so in order to know how many elements were produced/consumed from kafka topics we could maybe just run the same scenarios in tests but in this case using an unlimited number of elements and setting a timeout limit (each test in a separate topic). |
They probably have (or had) the benchmark there: https://github.com/akka/alpakka-kafka/tree/master/benchmarks/src We don't have to do it exactly the same way
I don't think we need to provide msg/s result, I think it's more important to see what kind of overhead we introduce. |
Block Fix Binded connection First benchmark for kafka producer Added kafka benchmark strategy plan Added sink and consumer benchmarks Producer results Akka Removed references to akka a Final
WIP
This PR aims to add benchmarking for monix-kafka. #116
The approach to do so would be to spin up a kafka cluster using docker containers, for the moment only one broker but later might add more.
The plan/strategy for this benchmark is better explained in the readme.md within
benchmarks
subproject.Guess would also be cool to have benchmarks for
previousVersion
andnextVersion
in order to compare them, but that might go in a different PR?