×

Rate control by token buckets

  • US 9,178,827 B2
  • Filed: 08/05/2013
  • Issued: 11/03/2015
  • Est. Priority Date: 08/05/2013
  • Status: Expired due to Fees
First Claim
Patent Images

1. A method comprising:

  • maintaining a rate control mechanism for a source of requests, the rate control mechanism including a token bucket represented by a counter;

    the bucket accumulating tokens at a given rate until the counter reaches a token bucket burst size;

    in response to receiving a request, the request associated with a unit of work rate per measure of time, computing a quantity of accumulated tokens as a function of token bucket parameters, wherein the token bucket parameters include the rate at which tokens are accumulated, a burst size of the bucket, time of a last computation, and a quantity of tokens remaining since the last computation;

    updating the counter on demand, and computing a time for granting the received request based on the updated counter; and

    servicing the request if the required quantity of tokens are accumulated, and computing a future time when the required quantity of tokens will be accumulated if the required quantity of tokens are unavailable.

View all claims
  • 6 Assignments
Timeline View
Assignment View
    ×
    ×