Steve Fan
Steve Fan

Reputation: 3361

How to scale server-side Blazor application?

I know that it uses SignalR and requires a consistent connection over the network, and this mean there will be some kind of sticky session problem, which also mean we cannot just scale the deployment like in k8s in a braindead easy way.

I heard that SignalR can be configured to use a Redis backplane, but there doesn't seem to be an easy to do it with ASP.Net core, what steps do I need to do to scale server side Blazor, where the core part is about scaling SignalR? How do we integrate it with cloud native load balancers?

Upvotes: 2

Views: 1932

Answers (1)

Zsolt Bendes
Zsolt Bendes

Reputation: 2589

You can use Azure SignalR for scaling the connections in Azure. The docs might help you out on this.

Upvotes: 3

Related Questions