2

I want to support real time update feature in my web app, and great I found SignalR. It's very easy and interesting. But when coming to deploy to production servers, it makes me a standstill.

Currently, our web apps run on two web servers (IIS) load balanced. So to get SignalR up, we must support Service Bus.

With Redis, I can't see any implementation for Windows that ready for production. With Windows Azure we can't use it because of some company policy. And with the new Windows Server Service Bus, I read and see that it's just support a farm with 1 or 3 servers.

So, are there any available options for me to choose? I really impressed with the capabilities of SignalR and want to see it in our web app.

johnnyRose
  • 7,310
  • 17
  • 40
  • 61
MillDol
  • 121
  • 2
  • 11

2 Answers2

6

If you can switch to SignalR 2.0 then you can download the NuGet package Microsoft.AspNet.SignalR.SqlServer which will handle load balancing for you. See SignalR Scaleout with SQL Server for simple setup instructions.

As long as the account your application connects to SQL with has permissions to create a schema and tables, there is no SQL setup on your end other than providing a connection string. The package handles creating the load balancing tables for you.

Kevin Kalitowski
  • 6,829
  • 4
  • 36
  • 52
0

There are plans to implement a SQL Server based transport in the near future.

You may also want to try the third party RabbitMQ based transport.

RabbitMQ will likely be more than performant enough for your needs and supports clustering.

el_tone
  • 1,182
  • 8
  • 16