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

SignalR + Redis in cluster not working

Background When running the website with single application instance (container) - SignalR is working perfectly. When scaling out to more instances (>1), it throws errors and is just not working. I looked for an explanation on the internet and…
No1Lives4Ever
  • 6,430
  • 19
  • 77
  • 140
9
votes
2 answers

Is it possible to add SignalR messages directly to the SQL Backplane?

I'd like to know if I can add SignalR messages directly to the SignalR SQL Backplane (from SQL) so I don't have to use a SignalR client to do so. My situation is that I have an activated stored procedure for a SQL Service Broker queue, and when it…
Novox
  • 774
  • 2
  • 7
  • 24
9
votes
1 answer

Basic SignalR IMessageBus implementation

I have a service application that works pretty much like a SignalR backplane, so I thought it would be good idea to create my own IMessageBus implementation to talk with the backend, rather than roll out my own thing. The problem is that I cannot…
vtortola
  • 34,709
  • 29
  • 161
  • 263
8
votes
0 answers

SignalR "No transport could be initialized successfully. Try specifying a..." when using UseSqlServer

I'm using GlobalHost.DependencyResolver.UseSqlServer(ConfigurationManager.AppSettings["ConnectionString"]); to set up an SQL backplane for a web application that uses signalR (version 2.2.1). The web application is hosted on multiple servers and…
sje
  • 315
  • 2
  • 8
8
votes
2 answers

How can I tell if my SignalR Backplane (Redis) is really working as it should?

I'm currently playing SignalR 2.0.3, scaling out with a BackPlane that utilizes Redis for windows http://msopentech.com/blog/2013/04/22/redis-on-windows-stable-and-reliable/ I've integrated with the appropriate SignalR.Redis package in VS. I made…
JohnB
  • 3,921
  • 8
  • 49
  • 99
7
votes
1 answer

Can SignalR queue up messages when client is disconnected and resend them to client when client connects back?

We currently use SignalR to receive realtime messages from our backend on our UI Client. The UI client receives messages while it is online and connected to SignalR and misses the messages while it was disconnected (example: user closed the page and…
7
votes
1 answer

SignalR IIS worker process does not released

We have a simple signalr server and client running with the backplane enabled. When I looked in to the IIS worker process I found out in the current requests tab there is always this signalr connect is showing. When I connect like 100 clients 100…
Janitha Tennakoon
  • 856
  • 11
  • 40
7
votes
1 answer

Signalr client to retrieve missed messages on reconnect

I would like a user to retrieve messages that they may have missed when they re-connect to the Signalr server. I know I could persist the messages independently of Signalr, keep track of the last message id received in the client and resend the…
Joe U
  • 366
  • 3
  • 12
6
votes
1 answer

Signalr SQL scaleout : drawbacks of using multiple streams?

In the SignalR Performance page, we can read : A Stream in this context is a scale unit used by the scaleout provider; this is a table if SQL Server is used, a Topic if Service Bus is used, and a Subscription if Redis is used. Each stream…
JYL
  • 8,228
  • 5
  • 39
  • 63
6
votes
3 answers

SignalR cannot connect to Azure Redis on SSL

I am currently hosting my redis cache server on Azure, and have signalR relying on it as the backbone using the following... GlobalHost.DependencyResolver.UseRedis("Server",port,"password","eventKey"); This works find on port 6379 (non-SSL) but my…
5
votes
0 answers

SignalR + Redis backplane = System.InvalidOperationException: The queue is full

I use SignalR with redis backplane. To set up it, I use simple code var redisConfig = new RedisScaleoutConfiguration("connectionString","eventKey"); GlobalHost.DependencyResolver.UseRedis(redisConfig); Everything worked fine,but than I began to get…
vborutenko
  • 4,323
  • 5
  • 28
  • 48
5
votes
2 answers

Redis Cluster with SignalR Backplane

Our application uses SignalR. We need to support load balanced deployment for high availability. We also use clustered Redis for caching in our app. We are thinking of using the same Redis cluster as SignalR backplane to scale out. But the…
5
votes
1 answer

Can/should SignalR Backplane be used to build a distributed cache?

Our web app uses in-memory caching (Application Data Caching) to improve throughput such that frequently queried data does not have to be loaded from the database (SQL Server) for every request. Potentially, it will be deployed in a web-farm so we…
Dejan
  • 9,150
  • 8
  • 69
  • 117
5
votes
2 answers

SignalR Redis backplane not working - dependency issue?

We're using SignalR with the Redis (Azure cache) backplane in our redundant Azure web application. We detected a few days ago that all SignalR messages didn't seem to get delivered (it has worked in the past), thus pointing to problem with the…
Robert Bengtsson
  • 194
  • 3
  • 12
5
votes
2 answers

Scaling SignalR with SQL server - how often can we clear data?

I'm looking to write a scaled out SignalR application using SQL Server, using this article as a guidline. After doing some testing, it looks like the table Messages_0 in the SignalR database that I created (per the article) could get pretty…
lhan
  • 4,585
  • 11
  • 60
  • 105
1
2 3
9 10