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

SignalR BackPlane

I have implemented SignalR BackPlane and it seems to be working fine. Have used this URL for reference. I am creating a new SQL Database to achieve SingalR. My Doubt is: why do I have to create a new DB, or why can't I make use of existing…
Vinod
  • 596
  • 2
  • 10
  • 28
3
votes
1 answer

SignalR fails to connect when using Azure Service Bus

I am having random issues getting SignalR to connect when using the windows azure service bus as a backplane. The problem debugging it is that it seems to happen randomly (without any code changes), but when it does happen it takes awhile before it…
KingOfHypocrites
  • 9,316
  • 9
  • 47
  • 69
3
votes
1 answer

Implementing backplane and message bus for SignalR

My team is running an environment with load balanced IIS web servers and MongoDB. We want to use SignalR to push notifications to our users (and possibly more in the future). I'm trying to implement a new SignalR ScaleoutMessageBus so that we can…
B Sharp
  • 477
  • 8
  • 16
2
votes
2 answers

How to deserialize SignalR messages from Redis backplane

I need to read published messages by SignalR from Redis backplane. But they have strange format for me.…
Szyszka947
  • 473
  • 2
  • 5
  • 21
2
votes
1 answer

Azure SignalR Service: No active connection for user

In the live trace tool on the Azure portal, I consistently get the message that the user message was not received because there’s no active connection for user XXX I'm using a custom IUserIdProvider in my ASP.NET Core app. When I use the default,…
hbulens
  • 1,872
  • 3
  • 24
  • 45
2
votes
0 answers

Signalr connection failed for API hosted on webgarden

API serving signalr service (websockets only) is hosted on IIS (webgarden - 3 worker processes, one server) and is configured with the redis backplane: services.AddSignalR(options => { options.EnableDetailedErrors =…
crocodayl
  • 99
  • 9
2
votes
1 answer

Can I avoid of using a SignalR backplane behind a load balancer?

I use SignalR in order to expose RabbitMQ messages to browsers. This works fine with one app instance obviously. The question is if it could work with multiple instances too without a backplane. I understand that SignalR client could be disconnected…
Serg046
  • 1,043
  • 1
  • 13
  • 42
2
votes
0 answers

.NET Core based SignalR client with Redis Backplane receiving duplicate messages

I'm trying to create a pub/sub design based on ASP.NET Core SignalR (Server), Redis, .NET Core Hosted Service (Client). With Docker, I've created a cluster consisting of two SignalR servers running on Port 8080 & 8081 respectively and a Redis…
2
votes
1 answer

ASP.NET Core SignalR redis backplain

signalR hubs on multiple servers cannot communicate I'm working here as an example: https://learn.microsoft.com/en-us/aspnet/core/signalr/scale?view=aspnetcore-2.2 communication is provided on a single server. redis connection pub / sub is working…
2
votes
1 answer

Asp.net SignalR not working while deployed in Azure

I am using Asp.Net signal for sending user specific notification. Everything working fine in debug mode using visual studio but the same breaks while deployed to Azure. I am using redis cache. Startup.cs using Microsoft.AspNet.SignalR; using…
2
votes
1 answer

SignalR issue while Scaling out azure webapp

I have existing Asp.net mvc azure webapp running on .net framework 4.6.2. I am using SignalR for real time operations. Everything works fine until I enable autoscaling. After enable autoscaling I am not getting messages everytime. I know this is…
Singh
  • 554
  • 6
  • 22
2
votes
1 answer

SignalR scaleout with Redis Cluster

I read the Microsoft documentation of SignalR and says that: SignalR scaleout with Redis does not support Redis clusters. but the documentation is 06/10/2014. To date there is a solution to use the Redis backplane with a cluster redis? Or how…
pampua84
  • 696
  • 10
  • 33
2
votes
1 answer

Scaling Out Signal R with Azure Redis cache service

I want to make use of the Azure Redis cache for scaling out Signal R. But I have few doubts regarding the scale out. There is a possibility that 100's of clients might be connected with signal r hub at a given instance. When we see the Azure Redis…
Saurabh
  • 241
  • 2
  • 12
2
votes
0 answers

SignalR Message Bus OnConnected not called

I am adding a MongoDB SignalR (version 2.2.1) backplane to an existing SignalR hub. Without the backplane the OnConnected method on the Hub is called, once the backplane is registered the OnConnected method is not called. With the debugger I can…
Brantino
  • 544
  • 1
  • 5
  • 15
2
votes
0 answers

SignalR client disconnect causes high thread usage fro IIS

We have a server and clients that are implemented to communicate via signalr. We have implemented scaleout using SQL server and then later with Redis. When connecting more than around 70 clients to the server all the clients are suddenly gets…
Janitha Tennakoon
  • 856
  • 11
  • 40
1 2
3
9 10