On Dec 14, 2:58 am, Thomas <[email protected]> wrote:
> I'm a really Python and Google App Engine newbie and I tryed a lot
> different scripts. But every script which puts something to the
> datastore and reads some information from the datastore exceeds the
> 1000 megacycle per request. Has somebody some tipps or ideas?

Use memcache and try to limit how many writes your application needs
to do.  Datastore operations are going to be CPU intensive, but with a
bit of planning in your design you can avoid going over quota by
limiting the amount of datastore accesses you do. Don't worry too much
about getting occasional high CPU request warnings; these are
practically impossible to eliminate altogether but that's why you have
a quota of them to work with (I believe you accrue 2 per minute with
an accrual limit of 60 IIRC).  It's not the individual requests you
necessarily need to optimize but the overall scalability of your app.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to