Interesting. Can you post app IDs and keys of entities that do this?

--
Ikai Lan
Developer Programs Engineer, Google App Engine
plus.ikailan.com | twitter.com/ikai



On Sun, Jul 31, 2011 at 3:57 PM, Eduardo Garcia Lopez
<[email protected]>wrote:

> Ikai,
>
> I have done the tests with Datastore lo level API instead of JDO.
> Basically I have replaced this code:
>
>             query = pm.newQuery(Command.class, "id == idParameter");
>             query.declareParameters("Long idParameter");
>             query.setRange(0,1);                        // Get only one
> entry maximum
>             query.setUnique(true);                        // Get only one
> entry, instead of a List
>             cmd = (Command) query.execute(id);
>
> with this:
>             Entity eCmd =
> datastore.get(KeyFactory.createKey(Command.class.getSimpleName(), id));
>
> I get exactly the same problem. After 6/7 hours running, the application
> starts throwing an exception for every single call to this code line and
> there is no way it works (and I am calling this method with cron job eight
> times per minute).
>
> The exception is
>
>
> com.google.apphosting.api.ApiProxy$ApiDeadlineExceededException: The API call 
> datastore_v3.Get() took too long to respond and was cancelled
>
> You can see the CPU load below:
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine for Java" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/google-appengine-java/-/ZEluCqV7zdcJ.
>
> 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-java?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" 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-java?hl=en.

Reply via email to