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

Investigate redis streams for the backplane implementation #5313

Open
davidfowl opened this issue Jul 2, 2018 · 6 comments
Open

Investigate redis streams for the backplane implementation #5313

davidfowl opened this issue Jul 2, 2018 · 6 comments
Labels
affected-very-few This issue impacts very few customers area-signalr Includes: SignalR clients and servers enhancement This issue represents an ask for new feature or an enhancement to an existing one severity-nice-to-have This label is used by an internal tool
Milestone

Comments

@davidfowl
Copy link
Member

Investigate redis streams https://redis.io/topics/streams-intro as a backplane.

Support coming in SS.Redis: StackExchange/StackExchange.Redis#860

@analogrelay
Copy link
Contributor

🙄

@BrennanConroy
Copy link
Member

What reasons?
Cause it's new?
Cause it has replayability?
Cause it's faster?

@mgravell
Copy link
Member

mgravell commented Jul 4, 2018

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

@yzorg
Copy link

yzorg commented Aug 7, 2018

What reasons?
Cause it's new?
Cause it has replayability?
Cause it's faster?

@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.

@davidfowl
Copy link
Member Author

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).

@davidfowl
Copy link
Member Author

I think we should look at this for 3.0.

@aspnet-hello aspnet-hello transferred this issue from aspnet/SignalR Dec 17, 2018
@aspnet-hello aspnet-hello added this to the Backlog milestone Dec 17, 2018
@aspnet-hello aspnet-hello added area-signalr Includes: SignalR clients and servers type: Enhancement labels Dec 17, 2018
@analogrelay analogrelay added enhancement This issue represents an ask for new feature or an enhancement to an existing one and removed type: Enhancement labels Mar 21, 2019
@BrennanConroy BrennanConroy added affected-very-few This issue impacts very few customers severity-nice-to-have This label is used by an internal tool labels Nov 9, 2020 — with ASP.NET Core Issue Ranking
@ghost ghost locked as resolved and limited conversation to collaborators Apr 22, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
affected-very-few This issue impacts very few customers area-signalr Includes: SignalR clients and servers enhancement This issue represents an ask for new feature or an enhancement to an existing one severity-nice-to-have This label is used by an internal tool
Projects
None yet
Development

No branches or pull requests

7 participants