-
Notifications
You must be signed in to change notification settings - Fork 10.2k
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
Investigate redis streams for the backplane implementation #5313
Comments
🙄 |
What reasons? |
Now available in the 2.0 branch, anything later than 2.0.0-alpha.86 on nuget; we will also do a 1.* drop soon |
@BrennanConroy In short: yes, "replayability" and pub/sub. Which is not true of other Redis types/structures. For example you can have a list (can contain full history, but no live notifications) or a pub/sub topic (subscribers get notified in real-time, but no history). It looks like Redis streams provide both, ala Kafka. Faster? I'll leave that to maintainers, but if SignalR no longer has to update separate list and pub/sub topic per message, it has potential to be more efficient, possibly faster. |
We don't use lists today, we use pub/sub exclusively. Redis streams would enable a bit more durability and it would scale out better (redis pub/sub doesn't scale very well today in redis cluster). |
I think we should look at this for 3.0. |
Investigate redis streams https://redis.io/topics/streams-intro as a backplane.
Support coming in SS.Redis: StackExchange/StackExchange.Redis#860
The text was updated successfully, but these errors were encountered: