(but yeah, I starred it too)
Jeff
> --
> You received this message because you are subscribed to the Google Groups "Google App Engine" group.
> To post to this group, send email to google-a...@googlegroups.com.
> To unsubscribe from this group, send email to google-appengi...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
>
>
Pull queues make a lot of very neat things possible. Having some type
of grouping will make some truly awesome things possible.
Robert
For each unit of work:
-Write work to Pull queue with tag=BatchID
-Write named 'fan-in' task to Push Queue for execution <batch period ms> in the future, containing the BatchID
When the named task executes:
-Lease all available tasks from the Pull queue using the tag=BatchID
-Aggregate the work
-Apply the update to the Datastore
Is a feasible/appropriate/recommended use of the Pull Queue tag mechanism?
Excellent, thanks! One question though: isn't there an issue similar
to the HRD 'Eventual Consistency' with the Task Queue? In other words,
there is a variable latency between queue insert and lease
availability that could potentially spike high enough so that the fan-
in task misses some work.
If this is true, we still need some sort of cleanup mechanism for a
robust implementation. I have several ideas for this, but wanted to
make sure I wasn't missing something.
--
You received this message because you are subscribed to the Google Groups "Google App Engine" group.
To post to this group, send email to google-a...@googlegroups.com.
To unsubscribe from this group, send email to google-appengi...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
Hi Brett, Michael,Thank you for pointing to a new approach to do fan-in. This is excellent.Referring to 2010 I/O talk by Brett Slatkin, I would like also to ask about transactional sequences. Do we have nowadays yet another approach to build materialized views, taking into account appearance of backends, the fact that now we can create cross-group transactions and other new features?
On 4 May 2012 01:28, Michael Hermus wrote:
I added a feature request for the Pull task 'timeout' concept. If
anyone should agree that it is useful, please star the issue:
http://code.google.com/p/googleappengine/issues/detail?id=7454
--
You received this message because you are subscribed to the Google Groups "Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to google-appengine+unsubscribe@googlegroups.com.
--
with regards,
Maxim