-
Notifications
You must be signed in to change notification settings - Fork 178
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
How to improve performance? #164
Comments
I test several case again.Send 1000 msgs and recv 1000 msgs same in all case I compared these three approaches.Is the use of bsm/sarama-cluster the cause of slowness? |
AFAIR sarama-cluster is not used when emitting messages. You can replace the complete consumer/producer library if you like -- but you'll need to implement some stuff. Are you measuring the startup time as part of your benchmark? Starting a goka processor takes much longer than simply starting a sarama producer/consumer:
Typically, Goka applications run continuously, quickly amortizing the startup time. |
got it,thx |
I dont think we have any performance benchmarks yet. If you write some, we’d be happy if you could contribute them to the project. Thank you |
I found send 500 messages in 60 seconds.
Env:
cpu 3.2G 2-core
mem 8G
kafka 2.1.0 3-node
output:
The text was updated successfully, but these errors were encountered: