On Sat, Oct 3, 2009 at 10:09 AM, Josh <[email protected]> wrote:
> The problem here is that count() won't return more than 1000. > > It seems I'll have to store the rank with the user, but then the > challenge is inserting new users, or updating the ranks as scores > change. Using the taskqueue API would be ideal here: every time you change someone's score you fire off a task that will recompute everyone's rank. There are obvious optimisations that you can make since you'll be effectively doing an incremental sort of a mostly-sorted list. Dave. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google App Engine" 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?hl=en -~----------~----~----~----~------~----~------~--~---
