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
0
votes
0 answers

Message pack throws an error when calling Signalr Client method can't find matched constructor. type:Newtonsoft.Json.Linq.JProperty

I have a signalr application with the message pack protocol enabled. When the client connecting to my hub has message-pack enabled, everything works well, When I call a client (With message pack disabled) method passing as parameter an object…
Damien Doumer
  • 1,991
  • 1
  • 18
  • 33
0
votes
2 answers

SignalR and Redis

I've got a project that uses SignalR and a RedisBackplane, we've moved from StackExchange.Redis to ServiceStack.Redis due to Redis Sentinel compatibility issues (Not movable) However, it now looks like the support for SignalR Redis Backplane seems…
0
votes
1 answer

SignalR client does not receive message through Masstransit

I had a problem sending messages to clients via MassTransit and SignalR Startup: //SignalR services.AddSignalR().AddMassTransitBackplane(); #region MassTransit RabbitMq …
0
votes
0 answers

SignalR receives message only on sending

We have a SignalR server in .Net Framework which serves to Windows as well as Web clients. For Web clients we are using Javascript library provided for SignalR and we are using it for our Angular app. Issue is for following scenario. If sender is…
0
votes
1 answer

Signalr using Redis backplane not propagating message

I have a .net 4.5 MVC app which I have recently moved over to AWS, so we need to add a backplane to our Signalr implementation. I have followed the steps outlined at…
Anduril
  • 1,236
  • 1
  • 9
  • 33
0
votes
1 answer

Corrupted SignalR SQL backplane database

I'm running an asp.net MVC application that uses signalr,and I'm running signalR off of the SQL server backplane ( https://learn.microsoft.com/en-us/aspnet/signalr/overview/performance/scaleout-with-sql-server ). I was having some issues with this…
Phil
  • 1,852
  • 2
  • 28
  • 55
0
votes
0 answers

Is it possible use same redis server as backplane for different SignalR applications

I have completely different two SignalR application, but the hub names are the same. Each application was deployed into same two servers(with load balancing). My architecture is like below Cache Application: netscaler1 --> server1,server2 Hub Name:…
Erhan Urun
  • 228
  • 3
  • 9
0
votes
0 answers

'Microsoft.AspNet.SignalR.IDependencyResolver' does not contain a definition for 'UseSqlServer'

I am using SignalR 2.2.2 MVC 5 JQUERY 3.3.1 I have signalr working in the website, hub setup and can send data to clients. I now want to make this scaleable using MsSql, but the following code does not work as it cannot find the method. public void…
jimplode
  • 3,474
  • 3
  • 24
  • 42
0
votes
1 answer

SignalR sticky sessions with F5 and Citrix

we have a web application (angular) that needs to interact with a winform application. we do that via SignalR. the browser and winform are deployed on a citrix server. There is a webfarm of IIS servers and on those we have the webapi services and…
May
  • 240
  • 2
  • 10
0
votes
0 answers

SignalR SQL Server Scaleout Users Allocation

I have implemented signalR Scaleout using SQL Server as shown here : https://learn.microsoft.com/en-us/aspnet/signalr/overview/performance/scaleout-with-sql-server So, I have Server 1 and Server 2. What I would like to know, since I haven't been…
0
votes
1 answer

Wiring up Redis with AspNet SignalR

I just wanted to validate my setting. It seems to work, but I thought to validate my setting with you guys. I have SignalR hosted in my website. And in my Startup.cs I do: public class Startup { public void Configuration(IAppBuilder app) { …
Sam
  • 1,826
  • 26
  • 58
0
votes
0 answers

SignalR - mapping connections to users

I use Redis as a backplane, but I'm also using SQL to map users to connections. This is taking a toll on my I/O - every time I send a message through my hub, I do this: private readonly ConnectionService _connectionService; public AppHub() { …
SB2055
  • 12,272
  • 32
  • 97
  • 202
0
votes
1 answer

SignalR Backplane not working with NLog configuration (Clients cannot reconnect)

We have created a server with SQL backplane. Lately, we found this issue which caused the high number of thread usage by w3wp.exe. After going through the entire code base we were able to narrow down that the cause is related with NLog. We have…
Janitha Tennakoon
  • 856
  • 11
  • 40
0
votes
1 answer

SignalR static objects inside hub makes reconnect fail with backplane

We have implemented a server with backplane where there are more than 100+ clients are connecting. But when we were testing it we identified that when ever the clients are getting disconnected none of them are able to reconnect back. Also we noticed…
Janitha Tennakoon
  • 856
  • 11
  • 40
0
votes
1 answer

Improving scale out performance for multiple web instances using SignalR Redis Backplane

I have SignalR integrated in our application, and it has been working just fine. Couple of days ago, due to some requirements, we had to support scale out of our application – and hence we opted for SignalR scale out using Redis. However, since…
mitraark
  • 13
  • 1
  • 9