TL;DR —
SignalR is stateful, so when a client sends a request to a server, subsequent requests must go to the same server. Scaling SignalR-based apps horizontally is tricky compared to REST APIs. Microsoft started to offer its cloud solution in place of Redis — the Azure SignalR Service. The SignalR service is not open source, so I could only guess how the proxying is actually done, but it can be surised using the dotNetify middleware. The idea of using SignalR middleware is the key piece of the puzzle.
[story continues]
Written by
@dsuryd
Engineering leader at Enlyte. Writing about what works.
Topics and
tags
tags
signalr|scaling|aspnetcore|real-time|dotnetify|dotnet|backend|azure
This story on HackerNoon has a decentralized backup on Sia.
Transaction ID: 0WUuWBM_gejV1UbvM8gOKRa4wewujDgIpZnHfRMxELI
