O'Reilly logo

SignalR: Real-time Application Development by Einar Ingebrigtsen

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 7. Scaling out

This chapter will cover how to scale SignalR across multiple servers. The topics covered in this chapter are as follows:

  • The basics of messaging and how SignalR deals with them
  • Using SQL Server for scaling out
  • Using Azure Service Bus for scaling out
  • Using Redis for scaling out

At this stage the developer should be familiar with why one needs to scale out in this manner, and how to do it.

Scaling out

Underneath the covers, SignalR wraps all communication between server and clients into messages holding all of the information with its origin, what the message is for, and the content of the message. By default these messages are kept in memory in the process that hosts your SignalR-based solution. That means that having two servers ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required