Clustered Redis PubSub


I’m a bit new with coding an app in .net core (MVC) and would like to see if any one set up multiple subscribers to a clustered Redis.

I wanted some insight on how they set it up (inside main? background task? other?).

Unsure when you instantiate redis.GetSubscriber() in from StackExchange.Redis, it runs as a background task. Reading the docs, I would need to instantiate 6 of these.

I’m using
-Elasticache clustered redis with 2 clusters and 3 nodes to each cluster.

  • .net core 3.1