Questions tagged [signalr-backplane]

In electronics, a backplane is a group of parallel connectors. By analogy, a SignalR backplane connects multiple servers.

SignalR currently provides three backplanes for scale out purposes:

Windows Azure Service Bus: Service Bus is a messaging infrastructure that allows components to send messages in a loosely coupled way.

Redis: Redis is an in-memory key-value store. Redis supports a publish/subscribe (“pub/sub”) pattern for sending messages.

SQL Server: The SQL Server backplane writes messages to SQL tables. The backplane uses Service Broker for efficient messaging. However, it also works if Service Broker is not enabled.

Documentation exists here

140 questions
1
vote
0 answers

Can we rely on IRedisFeature from SignalR Redis backplane to track groups to which connection belongs?

I need to track to which group specific connection belongs. I use Redis backplane and I have read the RedisHubLifetimeManager code. I see that they use IRedisFeature to store groups to which specific connection belongs. I don't want to store the…
1
vote
0 answers

Why am I getting a 404 error in SignalR Backplane with SQL Server in .Net Core?

Anyone successfully implemented SignalR Backplane with SQL Server in .Net Core application ? We are using IntelliTect.AspNetCore.SignalR.SqlServer as mentioned in this…
1
vote
0 answers

How does SignalR's scaleout dependencyResolver UseSqlServer work under the hood?

Can anyone explain how signalR scaleout dependecyResolver UseSqlServer works. How the Sql backplane works for SignalR applications (what goes on inside the sql server). What is the architecture behind this component. How does it queue and exchange…
1
vote
1 answer

SignalR Scaleout using Sql Server (.net6)

I am trying to figure out how to use SignalR scaleout wit SqlServer backplane. Otherwise we are not able to use multiple instances in Kubernetes. I looked up a Nuget Microsoft.AspNetSignalR.SqlServer but it is not there for NET6. I also tried to…
Anand
  • 1,387
  • 2
  • 26
  • 48
1
vote
0 answers

IIS maximum worker processors and Signalr

I have been having a lot of trouble to get Signalr to function reliably with messages inexplicably never arriving but being sent from the Hub almost as if the groups are being lost although the websocket connection is open on two clients which I am…
John Sourcer
  • 188
  • 14
1
vote
2 answers

SignalR backplane expected behavior

I'm creating a new SignalR (.net core) backplane and I'm a little confused about the backplane's expected behavior. Send all: Is this restricted to all within a hub type or to all hubs of any type across the entire network? Send to Group: Simalar…
yozepi
  • 362
  • 3
  • 9
1
vote
0 answers

ASP.NET SignalR with Redis scaleout/backplane causes linear increase in server load

I am running an ASP.NET Web application (.NET Framework 4.7.1) on two different Windows Servers. Each application instance has a SignalR message server with nine different hubs for different types of messages. When both servers are online, there…
eglease
  • 2,445
  • 11
  • 18
  • 28
1
vote
1 answer

External Messaging SignalR (DB ==> WebServer)

We have an MVC5 application that is using using SingalR. The app is currently behind load balancer and we have a garden of servers. So, we are using the scaleout mechanism via SQL server backplane to make sure all nodes get the same notification. It…
Sam
  • 875
  • 10
  • 22
1
vote
1 answer

SignalR Hub-2-Hub Communication with SQL Backplane in ASP.NET Owin

I have an ASP.NET Owin Web Api which is load balanced, which means there are multiple instances of it which don´t know each other. The web api hosts a SignalR hub with an SQL Server Backplane (for synchronising between instances), so clients can…
thoros1179
  • 353
  • 1
  • 3
  • 14
1
vote
1 answer

How do I cache data on a Redis server which is used as SignalR backplane?

I am using Redis Server as SignalR backplane in a Asp.net SignalR application. I also want to add some data in cache to the same Redis Server from the same application. The connection to the Redis server is maintained by the SignalR library and not…
1
vote
1 answer

SignalR groups in redis backplane

Making SignalR work with Redis backplane is as simple as adding AddStackExchangeRedis("localhost:6379"); to AddSignalR in Startup.cs. So when I add a connection to a group in SignalR using this.Groups.AddToGroupAsync(connectionId, groupName);, Redis…
Joana Deluca Kleis
  • 295
  • 1
  • 3
  • 7
1
vote
1 answer

Asp.net Azure SignalR service on a distributed system

I have a web app running on Asp.net 4.7.2. This app contains a few REST endpoints that are queried and then delegate work off to a windows service that sits on another machine. When the work on this service is complete, I want to use SignalR to send…
1
vote
2 answers

Get HubContext from outside of Hub using Aspnetcore.signalr libray (not from Controller)

I am developing SignalR service using AspNetCore.SignalR. Following is my Hub: public class NotificationHub : Microsoft.AspNetCore.SignalR.Hub { public override async Task OnConnectedAsync() { await…
1
vote
1 answer

Azure RedisCache Backplane Logging/Signalr logging

I have a Single Page Azure Web App that uses Signalr(Microsoft.AspNetCore.SignalR" Version="1.0.0-alpha1-final) to broadcast events(login, logout, department creation etc) to connected clients. I also scale my application to several instances at…
1
vote
1 answer

Azure Service Bus backplane for Signalr core

is Azure Service Bus backplane available for signalr core. which backplane is available for a signalr core app that is hosted on Azure cloud. thank you.
user8559109
  • 1,272
  • 2
  • 7
  • 14