amazon-web-servicesredissignalramazon-elasticachesignalr-backplane

AWS Elasticache Redis as SignalR Backplane


Has anybody tried to connect AWS Elasticache Redis (cluster mode disabled) to use with SignalR? I see there are some serious configuration issues and limitations with AWS Redis.

1) We are trying to use Redis as a backplane for signalr,

//GlobalHost.DependencyResolver.UseRedis("xxxxxx.0001.use1.cache.amazonaws.com:6379", 6379, "", "Performance");

It has to be as simple as this as per docs, I get socket failure on Ping when I try to connect. (I have seen posts about this with Windows azure, but could not find any help articles with AWS)

2) Should the cluster mode have to enabled ? as with cluster mode disabled, we need to use the replica end points for reading, and signalr does not know this ?

Thanks in advance.


Solution

  • We finally resolved, by removing the clusters and making a standalone AWS Redis.

    The other issue we had it was assigned to the wrong security group, so we had changed it to the same as our EC2 instances.

    You will still need to include ":6379" while accessing the DB.

    However, if you are using dependency resolver for signalr you should not include ":6379" as the access point, but if you use the redis for read and write operations using StackExchange.Redis then you need to include ":6379" in the request.