Burst-mode admission control using token buckets
First Claim
Patent Images
1. A system, comprising:
- one or more computing devices configured to;
receive a work request directed to a work target;
in response to a determination that a token population of a normal-mode token bucket associated with the work target meets a first threshold criterion, consume one or more tokens from the normal-mode token bucket in accordance with a normal-mode token consumption policy, and accept the work request for execution; and
in response to a determination that the token population of the normal-mode token bucket does not meet the first threshold criterion,determine whether a token population of at least one bucket of a burst-mode token bucket set meets a second threshold criterion;
in response to a determination that the token population of the at least one bucket of the burst-mode token bucket set meets the second threshold criterion, consume one or more tokens from the at least one bucket of the burst-mode token bucket set based at least in part on a burst-mode token consumption policy, and accept the work request for execution, andin response to a determination that the token population of the at least one bucket of the burst-mode token bucket set does not meet the second threshold criterion, reject the work request.
1 Assignment
0 Petitions
Accused Products
Abstract
Methods and apparatus for burst-mode admission control using token buckets are disclosed. A work request (such as a read or a write) directed to a work target is received. Based on a first criterion, a determination is made that the work target is in a burst mode of operation. A token population of a burst-mode token bucket is determined, and if the population meets a second criterion, the work request is accepted for execution.
28 Citations
18 Claims
-
1. A system, comprising:
one or more computing devices configured to; receive a work request directed to a work target; in response to a determination that a token population of a normal-mode token bucket associated with the work target meets a first threshold criterion, consume one or more tokens from the normal-mode token bucket in accordance with a normal-mode token consumption policy, and accept the work request for execution; and in response to a determination that the token population of the normal-mode token bucket does not meet the first threshold criterion, determine whether a token population of at least one bucket of a burst-mode token bucket set meets a second threshold criterion; in response to a determination that the token population of the at least one bucket of the burst-mode token bucket set meets the second threshold criterion, consume one or more tokens from the at least one bucket of the burst-mode token bucket set based at least in part on a burst-mode token consumption policy, and accept the work request for execution, and in response to a determination that the token population of the at least one bucket of the burst-mode token bucket set does not meet the second threshold criterion, reject the work request. - View Dependent Claims (2, 3, 4, 5)
-
6. A method, comprising:
performing, by one or more computing devices; assigning a provisioned throughput capacity to a work target, indicative of a maximum rate of work operations to be performed at the work target during a normal mode of operation; receiving a work request directed to the work target; determining a token population of a normal-mode token bucket associated with the work target; in response to determining that the token population of the normal-mode token bucket meets a first threshold criterion, determining that the token population of at least one bucket of a burst-mode token bucket set associated with the work target meets a second threshold criterion, accepting the work request for execution; and modifying the token population of at least one bucket of the burst-mode token bucket set based at least in part on a burst-mode token consumption policy; refilling the normal-mode token bucket at a rate based at least in part on the provisioned throughput capacity; and refilling at least one bucket of the burst-mode token bucket set at a different rate based at least in part on the provisioned throughput capacity. - View Dependent Claims (7, 8, 9, 10, 11, 12, 13)
-
14. A non-transitory computer-accessible storage medium storing program instructions that when executed on one or more processors:
-
assign a provisioned throughput capacity to a work target, indicative of a maximum rate of work operations to be performed at the work target during a normal mode of operation; receive a work request directed to the work target; in response to a determination, based at least in part on a first threshold criterion, that the work target is in a burst mode of operation, determine that the token population of at least one bucket of a burst-mode token bucket set associated with the work target meets a second threshold criterion; and accept the work request for execution; refill a normal-mode token bucket associated with the work target at a rate based at least in part on the provisioned throughput capacity, wherein the first threshold criterion is based at least in part on a token population of the normal-mode token bucket and refill at least one bucket of the burst-mode token bucket set at another rate based at least on the provisioned throughput capacity. - View Dependent Claims (15, 16, 17, 18)
-
Specification