On Tuesday, March 12, 2013 2:16:50 PM UTC-5, stevep wrote:
>
> 1) Any insights why one GAE API call can vary so much within a second or 
> two?


I've had the same experience as well - for instance Memcache calls that 
usually average a few milliseconds latency suddenly shoot up to 200+ ms 
latency. Similar things have happened to datastore calls. You're not alone, 
but there's nothing much that can be done about it. If I had to guess at a 
root cause, I'd say that the machine running the instance is overwhelmed 
with work/failing/etc.

 On Tuesday, March 12, 2013 2:16:50 PM UTC-5, stevep wrote: 

> 2) Would it make sense to use a deferred function call?

 
 If you really would like to queue a task asynchronously, what you could do 
is use fetchAsync in the low level urlfetch api ( 
https://developers.google.com/appengine/docs/java/javadoc/com/google/appengine/api/urlfetch/URLFetchService#fetchAsync(com.google.appengine.api.urlfetch.HTTPRequest)
 ) 
to call the Task Queue REST API: 
https://developers.google.com/appengine/docs/java/taskqueue/rest/tasks/insert
 

There's probably an equivalent for Python, if you're a Python guy.

-Vinny P

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-appengine?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to