Re: [appengine-java] scheduling 1000 emails

2012-02-21 Thread marco
Thanks for the reply. I'll probably stick with 5/s max rate. The use case can live with that. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To view this discussion on the web visit

[appengine-java] scheduling 1000 emails

2012-02-20 Thread marco
Goal: - Transform a request to send ~1000 emails by sending one each X seconds. Problems found: - Cron doesn't allow scheduling for every second (and has to be one all the time; not just when requested;) - Using recursive deferred tasks (the first launching the second after a

Re: [appengine-java] scheduling 1000 emails

2012-02-20 Thread Jeff Schnitzer
You can schedule tasks to execute in the future. It doesn't guarantee that the task will be executed then, however. You might find the queue backed up, in which case you'll get a long delay then all the tasks executing rapidly. Alternatively, you can throttle the task queue to execute once per