Blazor Server SignalR capabilities

rokolab 40 Reputation points
2023-03-20T11:54:52.4966667+00:00

I have developed Blazor Server application.

It is hosted on Azure, and I also created SignalR service that my app uses.

Now the Standard plan for SignalR says:

1,000 connections/unit

1,000,000/Unit/Day

41.41 EUR/Month/Unit

0.84 EUR per million messages

How many concurrent users can browse my website on this plan?

If I understand this correctly each user can have max 1000 connections and 1M messages sent.

And pricing 41€ per unit per month... does this mean if I have 10 concurrent users I will pay 410€?

Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,383 questions
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. JasonPan - MSFT 4,201 Reputation points Microsoft Vendor
    2023-03-20T14:41:23.13+00:00

    Hi @rokolab ,

    Before answering your question, we need to know that if our application assumes that there are multiple pages that use Azure Signalr, then a single user opens 2 pages, that is, 2 connections are established with Azure Signalr.

    For example, if user A opens 10 identical pages using the signalr service, and user B opens 2 different pages using the signalr service, the total number of connections is 12.

    Question 1: 1,000 connections/unit

    Answer: The number of connections that can currently be accepted depends on unit, generally by default, the unit is created at 1, assuming that your Azure Signalr has only one unit, in your application, you can connect up to 1000 users.

    Question 2:1,000,000/Unit/Day

    Answer: This should be the number of messages that are free to use in Standard/Premium Plan.

    User's image

    Question 3: 41.41 EUR/Month/Unit

    Answer: When I don't see a screenshot of your billing page, I can't accurately describe this line.
    It seems to be stating that each unit is charged at 41.41 EUR per month. But as far as I know, this charge is related to time, and there are many factors related to the number of messages and unit.

    Question 3: How many concurrent users can browse my website on this plan?
    If I understand this correctly each user can have max 1000 connections and 1M messages sent.
    And pricing 41€ per unit per month... does this mean if I have 10 concurrent users I will pay 410€?

    Answer:

    The maximum number of connections is 995 users when you have only one unit. Let me show you.

    If you have one server and one hub in webapplication. The server connection count= 1(server) x 1(hub) x 5 (default value)

    Client Connection Count = 1000-5 =995

    the maximum size of each message is 2KB, assuming that 7KB messages will be split into 4 messages, and the actual message will use the quota of 4 messages.

    So 10 concurrent users don't have to pay 410€.


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    Best regards,

    Jason Pan

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. rokolab 40 Reputation points
    2023-03-20T15:41:29.8366667+00:00

    Here is a screenshoot when I try to scale up:

    User's image