Queue-Based Load Leveling pattern

In many cloud scenarios, during a day, a service could have peaks of traffic (periods where the number of requests from sender applications is extremely high) and this could affect the performances of the entire architecture and of your business level.

To avoid these situations, a common architectural strategy is to use a queue that acts as a buffer of requests and permits you to decouple the sender from the receiver. Check this Microsoft diagram:

In this architecture, a sender, instead of directly sending a request to a cloud service, it sends a request to a message queue. Then, the cloud service retrieves ...

Get Implementing Azure Cloud Design Patterns now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.