question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Question] interoperability of Redis backplane, with Microsoft.AspNet.SignalR

See original GitHub issue

I’m migrating a net472 project to net6, the project doesn’t serve SignalR request, but it publishes SignalR messages through Redis backplane. I see this in original project: GlobalHost.DependencyResolver.UseStackExchangeRedis(new RedisScaleoutConfiguration(connectionString, "EventKey")); I think I need this in new project: opt.Configuration = ConfigurationOptions.Parse(connectionString); opt.Configuration.ChannelPrefix = "EventKey"; I just want to confirm, is this really equivalent to the original configuration? Specifically, is RedisScaleoutConfiguration.EventKey equivalent to ConfigurationOptions.ChannelPrefix? If not, how to make the interop work? Since I don’t want to change the SignalR host service, not for now at least.

Thanks.

Issue Analytics

  • State:closed
  • Created 8 months ago
  • Comments:9 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
rayaocommented, Jan 17, 2023

@davidfowl That’s for sure, I promise! 😃 But our migration is still in planning phase, we have 3 options for this message publishing feature, so whether I can post a working code base here totally depends on if at last this approach is chosen.

1reaction
davidfowlcommented, Jan 15, 2023

That’s right! You need to handle publish events via redis in the right format, you can leave out the receiving logic.

Read more comments on GitHub >

github_iconTop Results From Across the Web

SignalR Scaleout with Redis
The SignalR Redis backplane uses the pub/sub feature to forward messages to other servers. Diagram that shows arrows going from Redis Server to ......
Read more >
SignalR Redis backplane implementation
Redis backplane for Asp.net core SignalR keeps getting timeout? Hot Network Questions · Is "slightly ajar" a tautology? What is the difference ...
Read more >
Microsoft.AspNet.SignalR.Redis 2.4.3
Redis messaging backplane for scaling out of ASP.NET SignalR applications in a web-farm. Versions Compatible and additional computed target ...
Read more >
Practical ASP.NET Core SignalR: Scaling
Scaling SignalR requires a backplane in order to communicate between instances. Here's how to configure Redis to support scale out.
Read more >
scale-out signalr server with redis backplane not working ...
I created a signalr backend server based on .net core 3.1 running on docker(debian). It works well when i only create single server...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found