python - google app engine - design considerations about cron tasks -
I am developing software using Google App Engine
I have the optimum about the following issue There are some ideas about design: I need to create and save snapshots of some organizations at regular intervals.
In the traditional relational DB world, I build DB jobs which include the new summary record. For example, a job will include a record for each active user, in which the current score will be in the "userrank" table, say, every hour.
I want to know what is the best way to achieve this in Google App Engine. I know that there is a cron service, but does it allow us to execute jobs which will include / update thousands of records?
Have you considered using it instead? In this way you can get a shell in your datastore and you can avoid expiration. The Mapper class displayed in that link is quite useful and I have used it successfully to perform batch operation on ~ 1500 objects.
He said, Kron should also work fine. At the time of each individual request you have a limit, so that you can not chew just through them all at once, but you can You can process the user, as you want him to use loot as much as you want. This should be an example of this in Docs, if you need help for this approach.
Comments
Post a Comment