Hi guys, What is the best way to batch time-non-critical datastore operations? The use case is the following:
In my app users can perform certain actions, which result in news items being generated: 0 - 4 per action, depending on the action. Currently I put them immediately to the datastore in a batch put. What would be much more optimal is to somehow batch them in groups (although they were created in totally different contexts, probably gae instances as well) and persist them as soon as group size > X or time elapsed since group was created > Y mins. My impression is that task queues are a good candidate but at the moment they rather serve to split a big task into smaller ones rather than vice versa. Any suggestions on how to optimize the above problem? Cheers, Ivan -- 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 [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-java?hl=en.
