官术网_书友最值得收藏!

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.

主站蜘蛛池模板: 台江县| 全椒县| 天等县| 延安市| 卫辉市| 宁波市| 孙吴县| 龙井市| 平罗县| 洞口县| 靖江市| 共和县| 黑龙江省| 潞西市| 桦川县| 合江县| 临泉县| 贵州省| 清流县| 六盘水市| 福州市| 重庆市| 怀安县| 凌源市| 晋州市| 蓝山县| 林周县| 尉犁县| 随州市| 贵州省| 涡阳县| 临桂县| 永春县| 三原县| 象山县| 岳西县| 潢川县| 浪卡子县| 清新县| 奉新县| 杭锦后旗|