Search code examples
azureazure-functionssignalrazure-signalr

Azure SignalR Auto-scaling


I am using Azure SignalR service instance. SignalR service currently only supports 1000 concurrent connections per service instance per unit. If the number of concurrent SignalR connections exceed 1000, the service instances will have to be increased manually, and reduced manually as the users decrease.

Looking for a suitable solution to auto-scale (scale up and scale down) the SignalR service instances based on the demand.

If any idea, please share. Thanks.


Solution

  • Azure SignalR service doesn't support any auto-scaling capabilities out of the box.

    If you want to automatically increase or decrease the number of units based on the current number of concurrent connections, you will have to implement your own solution. You may for example try to do this using a Logic App as suggested here.

    The common approach is otherwise to increase the number of units manually using the portal, the REST API or the Azure CLI.