Hi, As can be seen here <https://cloud.google.com/appengine/docs/python/taskqueue/queues#Queue_add>, when you add tasks to a queue, you can add a LIST of tasks, which is what the batch refers too.
What you describe for your application is definitely feasible, but you won't be able to add 100 000 tasks to your queue at once. Depending on the system, I would personally prefer a datastore entry to keep track of the bill and then a job that just sends the 100 000 emails, but I don't know enough about your system, this may not be feasible. Cheers! On Tuesday, November 17, 2015 at 1:13:57 PM UTC-5, Trez Ertzzer wrote: > > hello. > on this page: > https://cloud.google.com/appengine/docs/java/taskqueue/overview-push > > it's written > Maximum number of tasks that can be added in a batch: 100 > > *what does in mean? (ie what is a "batch"?)* > > > what I plan to do: > I want to have a cron task that is going to run every month. > this task is going to create one task for each of my user to compute the > bill and send an email. > do you think that's possible? (if I have 100 000 users...) > > how would you do this? > > > -- 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-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com. Visit this group at http://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/f69b8c6c-fd63-4d22-a71a-37ffae5a406f%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.