Token sharing mechanisms for burst-mode operations
First Claim
Patent Images
1. A system, comprising:
- one or more computing devices configured to;
configure a plurality of work targets with respective sets of token buckets for admission control of work requests, including a first work target with a first set of token buckets, wherein a decision to accept a work request for execution at the first work target is to be based at least in part on a token population of one or more token buckets of the first set;
in response to a determination that a token sharing evaluation criterion has been met at the first work target,identify a second work target of the plurality of work targets with which to exchange token population information from the first work target, wherein the second work target is configured with a second set of token buckets;
determine, based at least in part on an analysis of respective token populations of a first bucket in the first set and a second bucket in the second set, whether to initiate a token transfer between the first and second buckets; and
in response to a determination to initiate a token transfer,increase the token population of one bucket of the first and second buckets by a particular number of tokens, and decrease the token population of another bucket of the first and second buckets by the particular number of tokens, in accordance with a transfer direction identified for the token transfer; and
in response to receiving a work request directed to the first work target, accept the work request for execution based at least in part on the changed token population of the first bucket.
1 Assignment
0 Petitions
Accused Products
Abstract
Methods and apparatus for token-sharing mechanisms for burst-mode operations are disclosed. A first and a second token bucket are respectively configured for admission control at a first and a second work target. A number of tokens to be transferred between the first bucket and the second bucket, as well as the direction of the transfer, are determined, for example based on messages exchanged between the work targets. The token transfer is initiated, and admission control decisions at the work targets are made based on the token population resulting from the transfer.
24 Citations
20 Claims
-
1. A system, comprising:
one or more computing devices configured to; configure a plurality of work targets with respective sets of token buckets for admission control of work requests, including a first work target with a first set of token buckets, wherein a decision to accept a work request for execution at the first work target is to be based at least in part on a token population of one or more token buckets of the first set; in response to a determination that a token sharing evaluation criterion has been met at the first work target, identify a second work target of the plurality of work targets with which to exchange token population information from the first work target, wherein the second work target is configured with a second set of token buckets; determine, based at least in part on an analysis of respective token populations of a first bucket in the first set and a second bucket in the second set, whether to initiate a token transfer between the first and second buckets; and in response to a determination to initiate a token transfer, increase the token population of one bucket of the first and second buckets by a particular number of tokens, and decrease the token population of another bucket of the first and second buckets by the particular number of tokens, in accordance with a transfer direction identified for the token transfer; and in response to receiving a work request directed to the first work target, accept the work request for execution based at least in part on the changed token population of the first bucket. - View Dependent Claims (2, 3, 4, 5)
-
6. A method, comprising:
performing, by one or more computing devices; configuring a plurality of work targets with respective token bucket sets for admission control of work requests, including a first work target with a first token bucket set, wherein a decision to accept a work request for execution at the first work target is to be based at least in part on a token population of one or more token buckets of the first token bucket set; in response to determining that a token sharing evaluation criterion has been met at the first work target, initiating a token transfer in a particular direction between a first bucket of the first token bucket set and a second bucket of a second token bucket set associated with a second work target of the plurality of work targets; and accepting, in response to receiving a work request directed to the first work target, the work request for execution based at least in part on the token population of the first bucket subsequent to the token transfer. - View Dependent Claims (7, 8, 9, 10, 11, 12, 13, 14, 15)
-
16. A non-transitory computer-accessible storage medium storing program instructions that when executed on one or more processors:
-
determine a number of tokens to be transferred between a first bucket in a first token bucket set and a second bucket in a second token bucket set, wherein the first token bucket set is used for admission control of work requests directed at a first work target of a plurality of work targets, and wherein the second token bucket set is used for admission control at a second work target of the plurality of work targets; initiate a transfer of the number of tokens in a particular direction between the first bucket and the second bucket; and accept, in response to receiving a work request directed to the first work target, the work request for execution based at least in part on the token population of the first bucket subsequent to the transfer. - View Dependent Claims (17, 18, 19, 20)
-
Specification