It's most likely because you are experiencing a high percentage of
loading requests.  If you are only accessing your app infrequently
then a large percentage of your requests will be loading requests
which take a lot of extra time. And this is probably what is bringing
your average up.

Once your site gets a steady stream of traffic, you will have a much
lower percentage of loading requests.

If you're interested, Here's an article I wrote about optimizing
loading requests:
http://www.answercow.com/q/103005/google-app-engine-cold-start-guide-for-java

On Aug 18, 9:29 am, ld493 <[email protected]> wrote:
> Hello, it's the first time I use google app engine and I would like to
> know why I have a lot of time of Avg CPU (API) in my dashboard for my
> link.
>
> I'm just log in and do that to verify the log in and the password that
> is in my persistence manager that contains just 2 logins :
>
> PersistenceManager pm = PMF.get().getPersistenceManager();
> String query = "select from " + User.class.getName()+" where login ==
> log && password == pass "+"parametersString log, String pass";
>
> List<User> user = (List<User>) pm.newQuery(query).execute(loginParam,
> psw);
>
> For this I have 2000 for Avg CPU (API) in my dashboard and the
> message :
> -  "This URI uses a hight amount of CPU and may soon exceed its
> quotas".
>
> It's the persistence manager that uses this hight amount of CPU time
> what can I do to reduce it?

-- 
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