Scaling out with Redis

The Windows Azure Service Bus backplane is very interesting, but it's also based on an external infrastructure, which might not always be a viable option. Also, the resilience characteristics of the Windows Azure Service Bus are great for guaranteed delivery, but they have some impact in terms of messaging throughput. Therefore, the SignalR team provided a high-performance alternative with a backplane based on Redis.

Redis is an in-memory key-value store, with a persistence strategy to make data durable, but its main focus is speed, which it achieves through its in-memory model. It has a publish/subscribe structure whose characteristics are ideal to be used as the foundation for a SignalR backplane.

In this recipe, we'll ...

Get SignalR Real-time Application Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.