You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: 17/umbraco-cms/fundamentals/setup/server-setup/load-balancing/signalR-in-backoffice-load-balanced-environment.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# SignalR in a Backoffice Load Balanced Environment
2
2
When load balancing the backoffice, we also need to take care of the client to server communication outside of web requests.
3
-
Umbraco uses SignalR to abstract away these types of communication. This also allows us to more easily support load balancing by replacing how the communication is done by introducing a backplane.
3
+
Umbraco uses SignalR to abstract away these types of communication. This also allows us to support load balancing by replacing how the communication is done by introducing a backplane.
4
4
5
5
## Introducing a SignalR Backplane
6
6
A SignalR backplane is akin to a load balancer for direct client to server web traffic. It keeps track of which client is connected to which server. So that when a client sends a message, it arrives at the right server. It also allows any connected server to send a message to all clients, even those that are not directly connected to it.
@@ -14,11 +14,11 @@ Choosing the right backplane comes down to a few things
14
14
Microsoft has a good list of available backplanes in its [SignalR load balancing article](https://learn.microsoft.com/en-us/aspnet/core/signalr/scale?view=aspnetcore-10.0), including a list of well known [third party offerings](https://learn.microsoft.com/en-us/aspnet/core/signalr/scale?view=aspnetcore-9.0#third-party-signalr-backplane-providers).
15
15
16
16
## Code examples
17
-
The following code examples show you how you can easily activate SignalR load balancing using an Umbraco composer.
17
+
The following code examples show you how you can activate SignalR load balancing using an Umbraco composer.
18
18
Note: Both Umbraco Core and these composers use `.AddSignalR().` which is ok since the underlying code registers the required services as singletons.
19
19
20
20
### Using existing infrastructure
21
-
It is possible to use your existing database as a backplane. Do note that if this database is hosted in azure it is not possible to enable Service Broker which will have an impact on message throughput. We do however feel that when you start out with load balancing, it might be enough to cover your needs.
21
+
It is possible to use your existing database as a backplane. If this database is hosted in azure it is not possible to enable Service Broker which will have an impact on message throughput. We do however feel that when you start out with load balancing, it might be enough to cover your needs.
22
22
For more information, check out the [github page](https://github.com/IntelliTect/IntelliTect.AspNetCore.SignalR.SqlServer).
23
23
- Add a reference to the IntelliTect.AspNetCore.SignalR.SqlServer NuGet package
0 commit comments