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

Upgrade Redis, use RESP3 for pubsub #970

Merged
merged 1 commit into from
Feb 15, 2025
Merged

Upgrade Redis, use RESP3 for pubsub #970

merged 1 commit into from
Feb 15, 2025

Conversation

stephank
Copy link
Member

@stephank stephank commented Feb 8, 2025

This finally upgrades the redis crate and relies on its support for pubsub, instead of our own solution. We do now require RESP3, which means Redis >= 6.0 (or valkey), which is more than 4 years old by now.

@stephank stephank force-pushed the feat/resp3 branch 2 times, most recently from 72ba033 to 780b6a6 Compare February 9, 2025 21:25
@stephank
Copy link
Member Author

stephank commented Feb 9, 2025

Tried using ConnectionManager instead of MultiplexedConnection, but the way it does reconnects is a little opaque. There appears to be no logging or events to catch at all. Only PushInfo::Disconnection, but that has no additional information about next retry, for example.

Sticking with MultiplexedConnection keeps behavior as it previously was: we crash if redis disappears.

@stephank stephank merged commit 32ed62c into main Feb 15, 2025
4 checks passed
@stephank stephank deleted the feat/resp3 branch February 15, 2025 15:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant