[appengine-java] need advise on processing of imported large number of mails
Hie I am using a third party service to let visitor invite their friends. So, obviously the list could be of any length like say 3000 email ids. As a result the servlet running on app engine dies before it can finish sending emails to all these 3000 emails. What is the suggested way to handle such scenarios? Thankx and Regards Vik Founder http://www.sakshum.org http://blog.sakshum.org -- 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.
[appengine-java] need advise on processing of imported large number of mails
Move the processing into the task queue - individual tasks can process for 10 minutes. Cheers, Simon -- 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 https://groups.google.com/d/msg/google-appengine-java/-/HrudgleNMJUJ. 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.
Re: [appengine-java] need advise on processing of imported large number of mails
can we pass java objects like a java.util.List as params in queue.add( withUrl("/worker").param("key", key)); ? Thankx and Regards Vik Founder http://www.sakshum.org http://blog.sakshum.org On Sat, Dec 17, 2011 at 3:47 PM, Simon Knott wrote: > Move the processing into the task queue - individual tasks can process for > 10 minutes. > > Cheers, > Simon > > -- > 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 > https://groups.google.com/d/msg/google-appengine-java/-/HrudgleNMJUJ. > 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. > > -- 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.
Re: [appengine-java] need advise on processing of imported large number of mails
Save the data to the datastore and pass the key of the datastore object. Then, in the task queue task, retrieve the data from the datastore. -- Ikai Lan Developer Programs Engineer, Google App Engine plus.ikailan.com | twitter.com/ikai On Sat, Dec 17, 2011 at 8:40 AM, Vik wrote: > can we pass java objects like a java.util.List as params in queue.add( > withUrl("/worker").param("key", key)); ? > > Thankx and Regards > > Vik > Founder > http://www.sakshum.org > http://blog.sakshum.org > > > On Sat, Dec 17, 2011 at 3:47 PM, Simon Knott wrote: > >> Move the processing into the task queue - individual tasks can process >> for 10 minutes. >> >> Cheers, >> Simon >> >> -- >> 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 >> https://groups.google.com/d/msg/google-appengine-java/-/HrudgleNMJUJ. >> 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. >> >> > -- > 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. > -- 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.