Hi Sylvain, Great question! The bucket sized is intended to allow you to regulate bursts of incoming task executions. For example, if you set the bucket size to 1, only one task in the queue can be started at a time. If the task queues quota bucket is empty, no new tasks for the queue will be started.
This differs slightly from rate (as noted in the docs): http://code.google.com/appengine/docs/python/config/queue.html#Queue_Definitions A high rate with a small bucket size means that new tasks will be executed quickly when the queue is empty, but only a small number of tasks will be started at once. So you could intentionally cause the queue to grow longer when lots of new tasks are being added to spread out your task execution more evenly. Cheers, Jeff Sylvain <sylvain.viv...@gmail.com> wrote: > > Hi, > > I don't really understand the bucket_size parameter in the task config > yaml. > > Is it possible de have an example ? > > For example, I've 100 tasks in the queue. (rate 1/s) > What does it change if my bucket_size = 1 or 10 ? > > and if I have only 5 tasks ? (rate 1/s) > What does it change if my bucket_size = 1 or 10 ? > > Thank you > > Regards > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appengine@googlegroups.com To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~----------~----~----~----~------~----~------~--~---