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

Load shedding instead of disconnection under backpressure #88

Merged
merged 2 commits into from
May 20, 2024

Conversation

dcadenas
Copy link
Contributor

A load shedding strategy when we are under backpressure instead of full disconnection as we currently do. Currently when we reconnect we grab 1 hour of data from each relay and that's very hard to change and integrate with the backpressure signal from the consumer. Load shedding is easier to skip that hour surge of events on reconnects and also opens the door to future more dynamic/intelligent adaptations under load.

Screenshot 2024-05-20 at 1 32 08 PM

@dcadenas dcadenas self-assigned this May 20, 2024
@dcadenas dcadenas merged commit ea4e456 into main May 20, 2024
2 checks passed
@dcadenas dcadenas deleted the load-shedding branch May 20, 2024 17:03
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

1 participant