2

I read the Microsoft documentation of SignalR and says that:

SignalR scaleout with Redis does not support Redis clusters.

but the documentation is 06/10/2014. To date there is a solution to use the Redis backplane with a cluster redis? Or how could I solve the problem? some idea? thank you

pampua84
  • 696
  • 10
  • 33
  • Is there any reason in your infrastructure that you couldn't have a completely separate redis instance running just for the backplane? – Ben Williams Nov 05 '18 at 09:51
  • Yes, because i save the session token and clientId in redis – pampua84 Nov 05 '18 at 10:28
  • https://github.com/SignalR/SignalR/issues/3765 "This may mean that they may need to use a different Redis database for SignalR if they are currently sharing their Redis database with applications that require clustering." –  Nov 05 '18 at 10:38
  • Sorry but if the redis server goes down as the application does to work again?! – pampua84 Nov 05 '18 at 10:46
  • Can I put a reverse proxy (HAProxy) in front of the redis cluster to make it work? – pampua84 Nov 06 '18 at 16:21

1 Answers1

0

If you are still looking for a solution than this is what you need:

For .net framework: https://www.nuget.org/packages/Microsoft.AspNet.SignalR.StackExchangeRedis

For .net core:
https://www.nuget.org/packages/Microsoft.AspNetCore.SignalR.StackExchangeRedis

maicalal
  • 101
  • 1
  • 8