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

Saving SignalR connection state with scaleout servers

Using SignalR 2.2.0, I would like some validation of observations concerning clients executing hub methods in a multi-server scale out setup. I have SignalR running in a multi server model, using the SQL Server scaleout message bus. When a client…
Ralph Shillington
  • 20,718
  • 23
  • 91
  • 154
1
vote
1 answer

Handling concurrent connections in SiganlR

I am using .Net framework 4.5.2 and I will start to make a notification system that send notifications from web application into users that are connected from windows forms desktop application . after investigations i found that the suitable…
1
vote
1 answer

Microsoft.AspNet.SignalR.Redis requires StackExchange.Redis.StrongName, however StackExchange.Redis.Extensions.Core requires StackExchange.Redis

Both Microsoft.AspNet.SignalR.Redis and StackExchange.Redis.Extensions.Core are used in the same project. The former requires StackExchange.Redis.StrongName, while the latter has dependency to StackExchange.Redis. Obviously, you can't have both…
1
vote
1 answer

SignalR Backplane not creating tables with version 1.x

In my project SignalR is working fine. But due to introduction of load balancing in Web Farm, I am planning to use Backplane with SQL, following this article :http://www.asp.net/signalr/overview/performance/scaleout-with-sql-server . Backplane works…
Pramod Sharma
  • 376
  • 5
  • 14
1
vote
1 answer

SignalR SQL Server Broker - Orphaned Service Broker Queue Errors

I am using SQL Server Broker on SQL Server 2008 for Scaleout with SignalR v2.1.2. It was recently discovered that we are producing 50k+ errors per day in our DB logs. After some research, there are 3 orphaned Service Broker queues from December. …
1
vote
0 answers

Using Azure Redis Cache for storing Session data, and for SignalR Backplane

So, I'm preparing an older enterprise level ASP.net solution for a shift to Azure. We wanted to use a single Azure Redis Cache for both session state and for a SignalR Backplane. As a new member of the team, unfamiliar with SignalR, I built the…
1
vote
0 answers

Scaling out SignalR with SQL backplane and maintain UserList between servers

I am hoping that someone out there has come across this or can at least spot what is wrong with my code. I have created a browser based Chat application using MVC and SignalR, because I need a user to Login to Chat I have implemented a Register…
Neil Stevens
  • 3,534
  • 6
  • 42
  • 71
1
vote
0 answers

Trouble sending messages from event hub processor to SignalR service bus backplane

I am using SignalR with a service bus backplane. Trying to initiate messages from something that isn't a webserver. (Event hub processor) The following code works fine in a C# command line app. string conn =…
1
vote
0 answers

Updating per user stats in SignalR hub

I'm working on a simple game using SignalR 2 and MVC 5. I need to track number of "deaths" and "kills" for each user. These stats need to be read/write from multiple game instances (user can have multiple concurrent sessions) across multiple…
1
vote
2 answers

Load balanced SignalR fails on start. Will Redis backplane fix?

I'm having issues with SignalR failing to complete its connection cycle when running in a load balanced environment. I’m exploring Redis as a means of addressing this, but want a quick sanity check that I’m not overlooking something…
sithers
  • 11
  • 3
1
vote
0 answers

Multiple signalr hubs with different configuration

I am in a situation where I have multiple hubs in my project. I want to use a different HubConfiguration for each hub. This is because one of the hubs is connected up against a backplane, while the other one is not. Basically, for one of the hubs, I…
Mikael Guldborg
  • 285
  • 1
  • 11
1
vote
1 answer

SignalR in Azure: how can I scale out with the Specific Service pattern?

We're developing a system that uses SignalR to push out frequent updates of some business important metrics. We'll have a medium number of connected clients, anywhere from 50 to a 1000, and each client will need a unique payload. Based on a talk…
1
vote
1 answer

SignalR backplane and databaseinput?

We have a load balanced webserver setup and we therefore want to use SignalR for client/server communication with a SignalR backplane. How can we make sure that only one server writes to the database when a client sends something to the server? The…
x3m
  • 533
  • 5
  • 16
1
vote
0 answers

Call SignalR client methods from different process

I have a website which runs SingalR to inform the front end of certain back end events so it can update. The back end comprises the website back end as well as other services running as console apps, Azure workers, etc. which may or may not be on…
flipchart
  • 6,548
  • 4
  • 28
  • 53
1
vote
1 answer

Why is message delivery time not scaling well using SignalR?

I'm still testing SignalR but one of the things that's really important to me is that the messages reach the client as quickly as possible (I'm dealing with real time stock rates). The things is - under almost every scenario I've tried - from…
AvnerSo
  • 1,609
  • 1
  • 16
  • 23