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

Backfill _all_ of the preceding events, in smaller batches and a limited time #14233

Merged
merged 1 commit into from
Jun 21, 2024

Conversation

chrisguidry
Copy link
Collaborator

During my load testing of TaskWorker, I was able to narrow down one source of
instability to missing events during a websocket reconnection. I realized that
we were only partially backfilling events down the socket (limited to 1k) and
that under moderate volume it was totally possible to miss events. Instead,
we will clamp the backfill to 15 minutes worth of time and send all of the
matching events.

Part of #14098

…ted time

During my load testing of `TaskWorker`, I was able to narrow down one source of
instability to missing events during a websocket reconnection.  I realized that
we were only partially backfilling events down the socket (limited to 1k) and
that under moderate volume it was totally possible to miss events.  Instead,
we will clamp the backfill to 15 minutes worth of time and send _all_ of the
matching events.

Part of #14098
@chrisguidry chrisguidry merged commit 5267be5 into main Jun 21, 2024
26 of 27 checks passed
@chrisguidry chrisguidry deleted the full-websocket-backfill branch June 21, 2024 20:18
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