I see in 
/**
     * Waits if necessary for at most the given time for the computation
     * to complete, and then retrieves its result, if available.
     *
     * @param timeout the maximum time to wait
     * @param unit the time unit of the timeout argument
     * @return the computed result
     * @throws CancellationException if the computation was cancelled
     * @throws ExecutionException if the computation threw an
     * exception
     * @throws InterruptedException if the current thread was interrupted
     * while waiting
     * @throws TimeoutException if the wait timed out
     */
    V get(long timeout, TimeUnit unit)
        throws InterruptedException, ExecutionException, TimeoutException;
..


Also in com.google.appengine.tools.development.TimedFuture.java

  private long getMillisRemaining() {
    return Math.max(0, deadlineTime - clock.getCurrentTime());
  }



So there may be a parameter somewhere we could set

On Friday, 10 August 2012 12:50:04 UTC+12, Brandon Wirtz wrote:
>
> I have asked for this in the past. When MemCache starts acting up we log 
> it and switch to 100% our own “memcache like server” for 20 minutes but 
> that is less than ideal.
>
>  
>
> *From:* [email protected] <javascript:> [mailto:
> [email protected] <javascript:>] *On Behalf Of *Emanuele 
> Ziglioli
> *Sent:* Thursday, August 09, 2012 4:07 PM
> *To:* [email protected] <javascript:>
> *Subject:* [google-appengine] Can you tweak the memacache timeout
>
>  
>
> Hi,
>
>  
>
> this morning we're experiencing repetitive memcache errors. I see a 
> "LogAndContinueErrorHandler" so requests don't fail but they take an awful 
> amount of time to be fullfilled.
>
> Is there any way to force a maximum response time for memcache (something 
> like 50ms?).
>
> I will profile it using appstat
>
>  
>
>  
>
> com.google.appengine.api.memcache.LogAndContinueErrorHandler 
> handleServiceError: Service error in memcache
>
> com.google.appengine.api.memcache.MemcacheServiceException: Memcache 
> getIdentifiables: exception getting multiple keys
>
>        at 
> com.google.appengine.api.memcache.MemcacheServiceApiHelper$RpcResponseHandler.handleApiProxyException(MemcacheServiceApiHelper.java:76)
>
>        at 
> com.google.appengine.api.memcache.MemcacheServiceApiHelper$1.absorbParentException(MemcacheServiceApiHelper.java:120)
>
>        at 
> com.google.appengine.api.utils.FutureWrapper.handleParentException(FutureWrapper.java:53)
>
>        at 
> com.google.appengine.api.utils.FutureWrapper.get(FutureWrapper.java:92)
>
>        at 
> com.google.appengine.api.memcache.MemcacheServiceImpl.quietGet(MemcacheServiceImpl.java:28)
>
>        at 
> com.google.appengine.api.memcache.MemcacheServiceImpl.getIdentifiables(MemcacheServiceImpl.java:61)
>
>        at 
> com.googlecode.objectify.cache.EntityMemcache.getAll(EntityMemcache.java:215)
>
>        at 
> com.googlecode.objectify.cache.CachingAsyncDatastoreService.get(CachingAsyncDatastoreService.java:253)
>
>        at 
> com.googlecode.objectify.cache.CachingAsyncDatastoreService.get(CachingAsyncDatastoreService.java:216)
>
>        at 
> com.googlecode.objectify.cache.CachingDatastoreService.get(CachingDatastoreService.java:137)
>
>        at siena.gae.GaePersistenceManager.get(GaePersistenceManager.java:2146)
>
>        at siena.core.batch.BaseBatch.get(BaseBatch.java:60)
>
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Google App Engine" group.
> To view this discussion on the web visit 
> https://groups.google.com/d/msg/google-appengine/-/a6s1gdXVHUMJ.
> To post to this group, send email to [email protected]<javascript:>
> .
> To unsubscribe from this group, send email to 
> [email protected] <javascript:>.
> For more options, visit this group at 
> http://groups.google.com/group/google-appengine?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/3730-Wel47UJ.
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