- Azure for Architects
- Ritesh Modi
- 206字
- 2021-07-08 09:33:38
Queue-based load leveling pattern
There are times when the load on an application cannot be determined at all times. Although there is consistent and predictable demand for application for most of the times, there are times when this load can go very high leading to failure of service or providing reduced performance or non-availability. Queue-based load leveling pattern can help during such scenarios. In this pattern, a queue is maintained and all request for the service is stored as messages within this queue. The queue acts as a highly available and durable temporary storage that then sends messages to service at a controlled speed thereby reducing disruption at the service end. The same has been shown in next image. There are multiple tasks sending messages to message queue. The queue stores the messages and ensures that the service gets these messages at a speed consistent with the resources available at the service end.

This pattern ensures that there is no unnecessary scaling up and out of resources by provisioning more instances to meet higher service demand. It has a direct impact on cost as well due to predictable usage and instances of resources.
High availability and better scalability are other advantages derived by implementing this pattern.
- Android Jetpack開發(fā):原理解析與應用實戰(zhàn)
- PHP基礎案例教程
- Ext JS Data-driven Application Design
- Reactive Programming with Swift
- Mastering Ubuntu Server
- Instant QlikView 11 Application Development
- ASP.NET 3.5程序設計與項目實踐
- 網(wǎng)絡爬蟲原理與實踐:基于C#語言
- Tableau 10 Bootcamp
- JavaScript腳本特效編程給力起飛
- R數(shù)據(jù)科學實戰(zhàn):工具詳解與案例分析
- Mastering Elixir
- Learning Grunt
- Java從入門到精通(視頻實戰(zhàn)版)
- Less Web Development Cookbook