Re: [appengine-java] need advise on processing of imported large number of mails

2011-12-19 Thread Ikai Lan (Google)
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 vik@gmail.com 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 knott.si...@gmail.comwrote:

 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.



[appengine-java] need advise on processing of imported large number of mails

2011-12-17 Thread Vik
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

2011-12-17 Thread Simon Knott
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

2011-12-17 Thread Vik
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 knott.si...@gmail.com 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.