发明名称 |
Balancing a load on a multiple consumer queue |
摘要 |
Disclosed are various embodiments for balancing a load on a queue among multiple consumers. A target polling hit rate is derived for at least one queue from a consumer load. The consumer load on the at least one queue is adjusted responsive to a change in an observed polling hit rate for the at least one queue. |
申请公布号 |
US9455928(B2) |
申请公布日期 |
2016.09.27 |
申请号 |
US201514640420 |
申请日期 |
2015.03.06 |
申请人 |
Amazon Technologies, Inc. |
发明人 |
Geisinger Nile Josiah;Gleason Joseph J. |
分类号 |
G06F3/00;G06F9/46;H04L12/875;G06F9/50;G06F9/54;G06F13/362;H04L29/06 |
主分类号 |
G06F3/00 |
代理机构 |
Thomas | Horstemeyer, LLP |
代理人 |
Thomas | Horstemeyer, LLP |
主权项 |
1. A method, comprising:
deriving, in a computing device, a target polling hit rate from a plurality of consumer loads, individual ones of the plurality of consumer loads being described by a number of threads that read from at least one queue, the target polling hit rate being based at least upon a read rate of the at least one queue and an observed polling hit rate associated with the individual ones of the plurality of consumer loads; computing, in the computing device, the observed polling hit rate for the at least one queue from a polling hit rate history; updating, in the computing device, the observed polling hit rate for the at least one queue; and adjusting, in the computing device, at least one consumer load among the plurality of consumer loads on the at least one queue responsive to a change in the observed polling hit rate associated with the at least one consumer load among the plurality of consumer loads for the at least one queue. |
地址 |
Seattle WA US |