I've created a custom task queue that I want to execute one task every
30 seconds so that the impact on my application performance is very
low. It's not time sensitive data so the slow execution has no
downside. I've created my queue.xml file and defined it like so:

<queue-entries>
<!--Set the number of max concurrent requests to 10-->
  <queue>
    <name>loadData-queue</name>
    <rate>2/m</rate>
    <bucket-size>200</bucket-size>
    <max-concurrent-requests>1</max-concurrent-requests>
    <retry-parameters>
      <task-retry-limit>2</task-retry-limit>
    </retry-parameters>
  </queue>
</queue-entries>

Because I'm limiting rate to 2 per minute and the max-concurrent-
requests to 1, I would think that the queue would execute one worker
unit every 30 seconds. Instead, it finishes 30 worker units in about
10-15 seconds. My guess is that multiple instances of the queue are
being executed at once for some reason. Am I missing a configuration?
Is there anyway to slow this thing down?


-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To post to this group, send email to google-appengine-java@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.

Reply via email to