Skip to content
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

Improve read performance #34

Open
lifeofguenter opened this issue May 5, 2020 · 0 comments
Open

Improve read performance #34

lifeofguenter opened this issue May 5, 2020 · 0 comments

Comments

@lifeofguenter
Copy link

lifeofguenter commented May 5, 2020

It seems like this plugin does not scale very well. That means, throwing CPU at logstash will not increase op/s.

I tried raising consumer_threads and pipeline.workers with no improvements.

Adding more logstash instances to the pool immediately solves the issue (though they still do not utilise CPU fully), which means its not an issue with the output itself (e.g. elasticsearch blocking) nor is there an issue with kafka itself.

Updates:

cpu underutilised:

pipeline.workers = 1
consumer_threads = 1
pipeline.workers = 1
consumer_threads = 4
pipeline.workers = 2
consumer_threads = 4

cpu utilised:

pipeline.workers = 4
consumer_threads = 4

I have not tried yet lowering the consumer_threads while keeping the pipeline.workers high. But so far it seems like pipeline.workers is the key point.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant