I guess it's too expensive. I memcached the first 5 and it made a big
difference.

On Jan 19, 11:49 am, Roman <[email protected]> wrote:
> I get warnings in my app that some requests used high amount of CPU
> (2000ms, roughly 1 times over CPU limit).
> Those requests require a few queries, e.g.:
> 5 of WHERE a=b type, each returning 1 object
> 1 of WHERE ANCESTOR IS :parent foo ORDER BY bar DESC returning 5
> objects
> 2 of Model.ref_set type returning 1-5 objects
> and finally a few of get(key) type.
>
> The db is very small (less 100 objects).
>
> My questions is: is this too much for one request, or am I doing
> something terribly wrong?
--~--~---------~--~----~------------~-------~--~----~
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