If you'd like to see us expand this article with more information, such as potential use cases, alternative services, implementation considerations, or pricing guidance, let us know with GitHub Feedback!
This example scenario demonstrates how to use Azure Cache for Redis as a message broker to implement a publish/subscribe asynchronous messaging capability. It's ideal for routing real-time messages and scaling up web communication frameworks such as SignalR.
Download an SVG of this architecture.
- The publishers send messages to Azure Cache for Redis.
- Azure Cache for Redis stores these messages and manages the delivery to the subscribers.
- The subscribers pull messages that they have subscribed to from Azure Cache for Redis.
Key technologies used to implement this architecture:
- Azure Cache for Redis Azure Cache for Redis is a fully managed, in-memory cache that enables high-performance and scalable architectures. Use it to create cloud or hybrid deployments that handle millions of requests per second at sub-millisecond latency – all with the configuration, security and availability benefits of a managed service.
- Azure App Service Azure App Service is an HTTP-based service for hosting web applications, REST APIs, and mobile back ends. You can develop in your favorite language, be it .NET, .NET Core, Java, Ruby, Node.js, PHP, or Python. Applications run and scale with ease on both Windows and Linux-based environments.