-
Notifications
You must be signed in to change notification settings - Fork 10k
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
[Epic] SignalR Redis improvements #27583
Comments
Thanks for contacting us. |
We've moved this issue to the Backlog milestone. This means that it is not going to be worked on for the coming release. We will reassess the backlog following the current release and consider this item at that time. To learn more about our issue management process and to have better expectation regarding different types of issues you can read our Triage Process. |
Our experience shows that Redis clustering (with Azure Redis Cache) does not work (of course, it's possible that we configured something wrong). So, we had to move our SignalR app to a non-clustered Redis cache apart from all the others using the Redis cluster (which is not a great way to scale and is not cost-effective). So, I'm very interested in learning what your findings (and solution) on this will be. Subscribing... |
Thanks for contacting us. We're moving this issue to the |
Tested Redis Clustering with Azure Redis Cache. No additional configuration or code changes were needed on the server, just the connection string like usual. Tested with 2 servers on separate shards, one client on each server. |
@BrennanConroy Thank you for testing this. We could not get Redis clustering to work on Azure Cache for Redis. I cannot remember what sort of errors/problems we got.
This is interesting. Our connection string is in the following format as of now: I wonder if this has anything to do with the problems we have experienced. Anyway, I will retest this as soon as I can. |
That's a normal connection string. |
That's what I thought too... Will test as soon as I can. Thanks. |
Hello, My understanding was that the commands used for redis are publish and subscribe which are not spread across nodes of a redis cluster. Redis 7 introduced ssubscribe and spublish which are compatible with redis clusters. (Sharded) But maybe there is something I did not understand in either redis clusters or SignalR backplane? |
I think this is the key paragraph:
So these new Redis commands help performance, but that doesn't mean Sharding will not work with SignalR today. |
The text was updated successfully, but these errors were encountered: