<queue>
<name>push-task</name>
<rate>60/h</rate>
<bucket-size>120</bucket-size>
<max-concurrent-requests>1</max-concurrent-requests>
</queue>
The 5 tasks in the ‘push-task’ queue will be completed after 5 seconds given that they each have 1 sec latency.
1. <bucket-size>120</bucket-size> means the bucket will have 120 tokens initially.
2. <rate>60/h</rate> will mean a maximum of 60 tasks will be processed per hour.
For example, consider the following:
Your above mentioned configurations
100 tasks in the queue
1 second latency each
Due to max-concurrent-request being 1 and rate only allowing 60 tasks per hour, 60 tasks will complete in the first 60 seconds. Then no more tasks will be processed for the next 59 minutes of that hour. After the hour is over, the remaining 40 tasks will be processed in 40 seconds.
Thanks for the reply. When will be bucket refilled? what parameters impact bucket filling?
--
You received this message because you are subscribed to the Google Groups "Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-appengi...@googlegroups.com.
To post to this group, send email to google-a...@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/7d587334-72d9-42af-9fa7-616868838ac9%40googlegroups.com.