--
You received this message because you are subscribed to the Google Groups "Google App Engine" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine/-/RJShf4x-MgcJ.
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.
Robert
Check out transactional tasks, if you've got low update rates or you
don't expect a great deal of contention, you could simply push an
'update' task to update your indexes.
If you expect high write rates, or a lot of contention, you should
look into batching the updates. There are many batching techniques,
depending on your needs. If you'd like something that will be quite
accurate check out 'slagg'. I've included an example that is quite
similar to what you're wanting (see examples/basic_group_indexor.py).
Sorry for the lack of detailed documentation; I'm working on that,
along with some large code improvements, but have been swamped with
other projects recently.
https://bitbucket.org/thebobert/slagg
Also, I agree with you about the indexes. I'd love to be able to
only fetch the "index key" rows too.
Robert
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/google-appengine/-/BEjbfHAMI0QJ.