I have a chained task that runs throughout the day on a strict schedule. The first chained task (let's call it "PrimaryTask") runs at 9:30 AM and then after it has successfully completed its work, it schedules two new tasks:
1. Another "PrimaryTask" to run at the next 5 minute mark (9:35 AM, 9:40 AM, etc) 2. A new task to be executed immediately (no defined delay or eta).. I'll refer to this one as "SecondaryTask" The SecondaryTask always ran immediately.. no delay with any of the 80 times it was scheduled throughout the day. The PrimaryTask also ran exactly on time throughout the day (though, I see that my SecondaryTask behaviour is the most germane in this situation.. since the concern is about when tasks with no delay actually end up executing.) So, in the least, this was not an issue across all of AppEngine today. On Mon, Jan 3, 2011 at 5:14 PM, vlad <[email protected]> wrote: > I observed such behavior too. It is reproducible only on production > (devserver is fine). I believe it to be a bug or optimization in TaskQueue > code. Basically GAE appear not to check back the queue for > ready-to-execute tasks after frontend enqueues a new task with 0s or very > short delay. > > That is based on a couple of observations: > > 1. If I schedule my tasks with 5+ second delay I do not see that problem. > 2. I enqueued 100 dummy tasks to fire every second between now and 100s in > the future and ran my tests. Problem was NOT observed > > GAE Team please comment > > -- > 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]<google-appengine%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/google-appengine?hl=en. > -- 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.
