Using Azure SignalR Service
There’s some overhead associated with SignalR since the server has open connections with all SignalR clients.
To remove this overhead from our services, we can use Azure SignalR Service. This service acts as an intermediary between clients and the SignalR service, as depicted in Figure 11.4:
Figure 13.4 – Using Azure SignalR Service
The preceding figure shows multiple monitor clients that each have a connection open to Azure SignalR Service. live-service
just needs to deal with a single connection. Azure SignalR subscribes to the events and forwards them to a single client, a group of clients, or all clients, as specified by live-service
.
The load for every client connection is handled by Azure SignalR Service, while this service just acts as a single client to the SignalR service.
A free version of this service without SLA that’s limited to 20 connections and 20,000 messages per day can be used...