词条 | Back-off pattern |
释义 |
OverviewThe 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. UsesThe 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. References1. ^AzureProviders {{Refend}} 1 : Software design patterns |
随便看 |
|
开放百科全书收录14589846条英语、德语、日语等多语种百科知识,基本涵盖了大多数领域的百科知识,是一部内容自由、开放的电子版国际百科全书。