Setting up Redis Backplane
Understand how to set up a Redis backplane to scale SignalR applications effectively. Learn to install and run Redis on various platforms, verify its operation, and configure it to enable distributed messaging between SignalR hub instances.
We'll cover the following...
By the end of this chapter, we'll have learned how to use Redis to build a distributed SignalR Hub that can support as many client connections as needed.
First, let's look at how we can set up Redis backplane.
There are two primary ways of scaling out the SignalR Hub:
Azure SignalR Service
Redis backplane
Azure SignalR Service is a fully managed service that makes it easy to add real-time communication functionality to your application.. It’s not suitable for all scenarios, as we will require an Azure subscription and our hub will be hosted in Microsoft Cloud. Redis backplane, on the other hand, is what allows us ...