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

Persist subscriptions #69

Merged
merged 14 commits into from
Sep 25, 2023
Merged

Persist subscriptions #69

merged 14 commits into from
Sep 25, 2023

Conversation

jeromegn
Copy link
Member

These (rather hefty) changes make Corrosion persist subscriptions across restarts.

This enables a few optimizations such as:

  • No need to re-query large datasets on boot, this could've caused major issues if there was a reboot loop and clients were reconnecting thundering herd-ly.
  • Clients can track the last update they've seen and subscribe from that point on. This should prevent losing data. If a client detects a gap, they know they've missed a change.

@jeromegn jeromegn merged commit 403cb77 into main Sep 25, 2023
4 checks passed
@jeromegn jeromegn deleted the persist-subs branch September 25, 2023 17:34
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.

1 participant