Hi Justin,

Currently dev_appserver.py does not respect the rate or bucket size
(Only the eta).

On 16 February 2011 21:15, Justin <[email protected]> wrote:
> Hi Nick,
>
> I have; doesn't seem to work [all tasks are still executed in a
> burst]; even if I set bucket size to 1
>
> Is it possible this is a dev_appserver.py issue ? [I haven't tried it
> on the production servers yet]
>
> Also it might be worth updating the docs to make it clear you can use
> floats in the queue.yaml rate field [it wasn't clear to me you could
> use '0.1/s']
>
> Thanks,
>
> Justin
>
> On Feb 15, 11:45 pm, "Nick Johnson (Google)" <[email protected]>
> wrote:
>> Hi Justin,
>>
>> Have you tried 0.1/s as a rate?
>>
>> -Nick
>>
>>
>>
>> On Wed, Feb 16, 2011 at 10:40 AM, Justin <[email protected]> wrote:
>> > I have generated some tasks which call the same URL with different
>> > parameters. Unfortunately the URL is rate throttled - I can only make
>> > one call every 10 secs - so I want to configure queue.yaml to make one
>> > call every 10 secs.
>>
>> > I started by setting the rate parameter at 6/m, but all the tasks were
>> > executed immediately. On closer reading of the queue.yaml docs, I can
>> > see there's nothing to stop app engine executing 6 tasks per minute in
>> > a single burst (rather than every 10 secs).
>>
>> > The best I can do at the minute is to use a rate of 1/m, so a task is
>> > executed every 60 secs; anything more than 1/m triggers the URL
>> > throttle.
>>
>> > Is there some combination of queue.yaml params that can get the
>> > interval down to 10 secs ?
>>
>> > --
>> > You received this message because you are subscribed to the Google Groups
>> > "Google App Engine" group.
>> > To post to this group, send email to [email protected].
>> > To unsubscribe from this group, send email to
>> > [email protected].
>> > For more options, visit this group at
>> >http://groups.google.com/group/google-appengine?hl=en.
>>
>> --
>> Nick Johnson, Developer Programs Engineer, App Engine
>> Google Ireland Ltd. :: Registered in Dublin, Ireland, Registration Number:
>> 368047
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Google App Engine" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> For more options, visit this group at 
> http://groups.google.com/group/google-appengine?hl=en.
>
>



-- 
Greg Darke

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

Reply via email to