Base solution for your next web application
Open Closed

SignalR - multiple tenants #6422


User avatar
0
carelearning created

Hello,

We have a project with several hundred tenants. What advice would you give to allow us to separate the communication between tenants? Currently, we send a "lock" message and all users receive this message regardless of tenancy. Options might include:

  • Give each tenant a separate endpoint, aka hub
  • Use signalR's group feature and assign each tenant an unique group name

We also plan to put our webservers behind a load balancer. Looking at the documentation (here), Redis is how you scale-out. Therefore the solution we are looking for needs to scale too.

Thank you for your time.


1 Answer(s)
  • User Avatar
    0
    aaron created
    Support Team
    • Use signalR's group feature and assign each tenant an unique group name

    👍