Is there a cap on the number of named hubs allowed in an Azure SignalR service instance?

Mark Middlemist 166 Reputation points
2022-12-19T09:21:00.34+00:00

Hi All

We're in the process of devising a partitioning strategy for our SignalR usage on our Azure hosted, multi-tenanted platform. Our preferred option would be to use a hub per client, but obviously we don't want to go down this route if we're going to suddenly get a "too many hubs" error when we hit a certain point.

Though I can't find anything about this in any of the documents I just wanted to check, is there a limit on the number of named hub allowed per Azure SignalR service instance? I can see connection limits, etc, but nothing about hubs, and I wanted to check before we go too far down the route of implementation.

Many thanks in advance

Mark Middlemist

Azure SignalR Service
Azure SignalR Service
An Azure service that is used for adding real-time communications to web applications.
120 questions
0 comments No comments
{count} votes

Accepted answer
  1. Grmacjon-MSFT 15,361 Reputation points
    2022-12-19T17:51:10.307+00:00

    Hi @Mark Middlemist ,

    I'm glad that you were able to resolve your issue and thank you for posting your solution so that others experiencing the same thing can easily reference this! Since the Microsoft Q&A community has a policy that "The question author cannot accept their own answer. They can only accept answers by others", I'll repost your solution in case you'd like to "Accept" the answer.

    Issue:

    You were in the process of devising a partitioning strategy for your SignalR usage on our Azure hosted, multi-tenanted platform.

    Your preferred option would be to use a hub per client

    You wanted to check if there is a limit on the number of named hub allowed per Azure SignalR service instance but couldn't find the infomation you were looking for in Azure documentation

    Solution:
    You were informed that "there are no limits to the number of hubs per service instance, but to take into account that there will be 5 server connections per hub, so the more hubs you have, the higher the number of connections, which will therefore impact the required number of units and from there the cost."

    If you have any other questions or are running into more Azure SignalR service instance issues, please let me know.
    Thank you again for your time and patience throughout this issue.

    -----------------------------------------------------------------------------------------------------------------------------------------------------

    Please remember to "Accept Answer" if any answer/reply helped, so that others in the community facing similar issues can easily find the solution.

    1 person found this answer helpful.
    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Mark Middlemist 166 Reputation points
    2022-12-19T13:02:02.437+00:00

    I've managed to get an answer through another route, so wanted to share the information for anyone who looks for the info in the future:

    I've been told that there are no limits to the number of hubs per service instance, but to take into account that there will be 5 server connections per hub, so the more hubs you have, the higher the number of connections, which will therefore impact the required number of units and from there the cost.

    Hope this helps.

    Mark

    0 comments No comments