发明名称 On-Demand Scalable Timer Wheel
摘要 Various embodiments enable on-demand scaling of a timer wheel. Some embodiments dynamically start and stop a timer wheel based, at least in part, on whether the timer wheel has any associated active timers. In some cases, the timer wheel is suspended when all associated active timers have been serviced. Alternately or additionally, the timer wheel is re-activated upon associating one or more active timers in need of service to the timer wheel. Various embodiments enable addition and removal of timer(s) to the timer wheel and/or various time slots associated with the timer wheel without using a global lock associated with the timer wheel.
申请公布号 US2014298073(A1) 申请公布日期 2014.10.02
申请号 US201313852875 申请日期 2013.03.28
申请人 MICROSOFT CORPORATION 发明人 Zhou Ziyan;Pashov Ivan D.;Silvera Jonathan A.;Cox Matthew R.
分类号 G06F1/14 主分类号 G06F1/14
代理机构 代理人
主权项 1. A computer-implemented method comprising: instantiating a scalable timer wheel configured to manage a plurality of timers; determining whether the scalable timer wheel is void of timers; responsive to determining the scalable timer wheel is void of timers, suspending periodic activity of the scalable timer wheel; and responsive to adding at least one timer to said void scalable timer wheel, reactivating the periodic activity of the scalable timer wheel.
地址 Redmond WA US