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

Fix: Batcher freeze #2260

Merged
merged 6 commits into from
Nov 22, 2022
Merged

Fix: Batcher freeze #2260

merged 6 commits into from
Nov 22, 2022

Conversation

paul-butcher
Copy link
Contributor

See: #2255 (and #2256)

# This var is read by the ingestor to switch the refresh interval off during a reindex
# It appears to be unnecessary, as the database copes well enough, so it is currently
# explicitly set to false, pending the removal of the switch.
# Was var.reindexing_state.scale_up_tasks
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome, glad to see we can remove this. The ticket is #2238

# During a reindex, the batcher is expected to receive
# roughly 0.5 million messages in roughly 2 hours.
# At peak, messages appear at a rate of about 6000 per minute, so
# waiting for 20 minutes would perfectly align with processing 120000 at a time.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have a vague memory that 120K is an SQS-imposed limit – can you link to some docs that confirm that?

@paul-butcher paul-butcher merged commit 4929756 into main Nov 22, 2022
@paul-butcher paul-butcher deleted the batcher-optimisation branch November 22, 2022 14:46
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.

3 participants