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
1 answer

Memory Leak in SignalR / Caching

I'm investigating a webapp which ran up to 10gb of memory, by analysing a memory dump using Windbg. Here's the bottom of the !dumpheap -stat output: 00007ff9545df5d0 166523 13321840 System.Runtime.Caching.MemoryCache 00007ff9545df4a0 166523 …
Simon Green
  • 1,131
  • 1
  • 10
  • 28
1
vote
2 answers

SignalR combined with load balancer missing messages

I have 2 web servers (IIS 8.5) behind a hardware firewall and our application uses SignalR for some real-time updates. We are using SQL Server as the backplane to help us work in this load balanced environment. Additionally we are using sticky…
1
vote
1 answer

SignalR simple gateway

I have a web application composed of a gateway and several back-end services. The gateway is a self-hosted OWIN application, and covers concerns like authentication, authorization, and routing of api calls to the backend. I'm interested in using…
Jimbidf
  • 391
  • 1
  • 15
1
vote
0 answers

Signalr servicebus backplane issue

I am getting a problem in service bus, it sometimes call client method and sometimes breaks. Here is my scenario- when courier place a bid for customer then it calls a server side method, after calling successfully it redirect to client function via…
Siddharth Vyas
  • 157
  • 2
  • 10
1
vote
0 answers

Detecting errors when connecting to a backplane in SignalR

Is there a way to detect if a signaR hub fails to connect to a given backplane (either SQL or REDIS). For example, given a bad connection string or unable to reach the backplane server? Here's my simplified startup class: public class…
PercivalMcGullicuddy
  • 5,263
  • 9
  • 46
  • 65
1
vote
0 answers

signalr failed to connect to LongPolling or serverSentEvents transport when using sqlserver scaleout

When i am using sqlserver scaleout with signalr GlobalHost.DependencyResolver.UseSqlServer, it failed to connect to LongPolling or serverSentEvents transport. Anyone faced this error before, i am using signalr 2.2.1 and signalr.sqlserver 2.2.1. here…
1
vote
0 answers

Signalr fails to deliver messges after IIS stop/start

We have several clients connected to a server via signalr. Lately we found a strange behavior where it fails to deliver messages from server to clients after we have done a stop and start site from IIS. (Not stopping IIS itself, only the site). When…
Janitha Tennakoon
  • 856
  • 11
  • 40
1
vote
1 answer

In the same project two libraries need two different version of a third library

In a C# project I need to make a backplane for SignalR realized with Azure Service Bus. So in the startup I wrote: GlobalHost.DependencyResolver.UseServiceBus(asb_endpoint, topic); in the same project there's even a Rebus configuration for Azure…
BAD_SEED
  • 4,840
  • 11
  • 53
  • 110
1
vote
1 answer

SignalR backplane with Azure Service Bus

I need to realize a simple cluster of workers that creates file zip file with a lot of pdf in it. The architecture, right now look like this: A single client (WebAPI + AngularJS) A cluster of Hangfire server that do the work As soon the clients…
BAD_SEED
  • 4,840
  • 11
  • 53
  • 110
1
vote
1 answer

Signalr scaleout with sql backplane

I have looked in to Introduction to Scaleout in SignalR and SignalR Scaleout with SQL Server documentations but there are some confusing things for me regarding how it actually works. How does backplane identifies all the connected servers to it?…
Janitha Tennakoon
  • 856
  • 11
  • 40
1
vote
0 answers

SignalR Redis message bus

I'm using RedisMessageBus as a backplane. From this article https://www.asp.net/signalr/overview/performance/scaleout-in-signalr I know, that the server delivers messages to clients from its local cache. But what will happen if the server was…
Boris Mitchenko
  • 880
  • 9
  • 18
1
vote
1 answer

Signalr scaleout with sql server

We need to implement the push notification using Signalr. We have two web servers (i.e., production and the backup server configured in cluster). The client will be connected to the backup server only if the production server is down. We have…
1
vote
1 answer

How to implement SignalR scale-out without using existing backplane options

I am using SignalR hosted in multiple servers behind a load balancer. I am storing the connnection id and the user id in the custom database table in sql server. Every time, I need to send notification to the selected users. It is working fine in…
Vijay VSTO
  • 133
  • 1
  • 4
  • 15
1
vote
0 answers

Signalr Send message to specific client and group of client

I want to use signalr to send a message to specific user or group of users. Before that I want to map a user to connection ID. I am using deviceUUId for user login. I am unable to pass the deviceUUID in GetuserID method. I am getting deviceUUID from…
1
vote
2 answers

Setup SignalR and Service Bus inside a Azure Service Fabric service

I am porting an existing Cloud Service WorkerRole to Service Fabric as a stateless service. The original Cloud Service uses SignalR and Service Bus (as a SignalR backplane), to send notifications out to any client listening. There is a Startup…
ProfNimrod
  • 4,142
  • 2
  • 35
  • 54