请输入您要查询的百科知识:

 

词条 Back-off pattern
释义

  1. Overview

  2. Uses

  3. References

{{Orphan|date=September 2012}}Back off pattern is a behavioral software design pattern that is used when the software developer wants to reduce the usage of system resources.[1]

Overview

The pattern typically does some kind of task that is not subject of real-time computing. An example would be the task of sending e-mails, where the end-user waiting several minutes is not a problem. The pattern design will typically implement worker thread that accesses a message queue that holds all unprocessed tasks and regularly check and process these tasks. If there are no tasks the worker thread will sleep for an increasingly long time until there are tasks in the queue again; when this occurs the sleep time is reset.

Uses

The pattern is useful on platforms where system resources are scarce, or where you have to pay for system resources like some cloud computing PaaS have.

References

1. ^AzureProviders
{{Refend}}

1 : Software design patterns

随便看

 

开放百科全书收录14589846条英语、德语、日语等多语种百科知识,基本涵盖了大多数领域的百科知识,是一部内容自由、开放的电子版国际百科全书。

 

Copyright © 2023 OENC.NET All Rights Reserved
京ICP备2021023879号 更新时间:2024/11/13 12:05:18