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

Increase number of concurrent celery workers in production #1583

Merged
merged 1 commit into from Sep 4, 2020

Conversation

fuziontech
Copy link
Member

This corrects an issue on Heroku currently where we are IO bound on Clickhouse. We need to convert the inserts to be async but until then this will free up resources on the worker nodes to tend to the inserts.

Problem:
We are blocked processing events waiting on inserts to complete on ClickHouse.

Temporary Solution:
Increase concurrency of celery workers on worker nodes since worker boxes are not taxed at all on CPU or Memory.
This should buy us time to refactor inserts to be async into Clickhouse.

@timgl timgl temporarily deployed to posthog-more-cowbell-rcndjoqdi September 4, 2020 22:49 Inactive
@fuziontech fuziontech merged commit aa7de23 into master Sep 4, 2020
@fuziontech fuziontech deleted the more-cowbell branch September 4, 2020 22:57
yakkomajuri added a commit that referenced this pull request Sep 7, 2020
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

Successfully merging this pull request may close these issues.

None yet

2 participants