title: Google App Engine: bucket_size parameter on Task Queues
body: <p>Google documentation on Bucket_size parameter gives just a <a href="http://code.google.com/intl/it-IT/appengine/docs/python/config/queue.html#Queue_Definitions" rel="noreferrer">brief definition</a>, a Wikipedia <a href="http://en.wikipedia.org/wiki/Token_Bucket" rel="noreferrer">link</a> and an example:</p>
  
  <blockquote>
    <p><strong>bucket_size</strong></p>
    
    <p>Limits the burstiness of the queue's processing,<br>
    i.e. a higher bucket size allows bigger spikes in
    the queue's execution rate. For
    example, consider a queue with a rate
    of 5/s and a bucket size of 10. If
    that queue has been inactive for some
    time (allowing its "token bucket" to
    fill up), and 20 tasks are suddenly
    enqueued, it will be allowed to
    execute 10 tasks immediately. But in
    the following second, only 5 more
    tasks will be able to be executed
    because the token bucket has been
    depleted and is refilling at the
    specified rate of 5/s.</p>
  </blockquote>
  
  <p>Could you please provide an explanation of <code>Bucket_size</code> parameter and in which way this parameter could be useful?</p>