I have implemented memcached for my project as well, but different
environment (php). Though I can't find the capabilities API for php [1]. Do
I just catch the exceptions (what?) and not worry about checking if the
memcached service is available?

[1] https://developers.google.com/appengine/docs/php/memcache/


On Mon, Jul 22, 2013 at 9:33 AM, Evan Ruff <[email protected]> wrote:

> Hey Vinny,
>
> Thanks for looking at the exception. I'm glad to hear that it was just a
> temporary issue and not something in my code or a 1.8.2 compatibility issue.
>
> I guess my only other question would be, is there a way to make this fail
> more quietly? My implementation does attempt to pull from the Datastore
> when something is unavailable and it seems like this amount of logging
> might be unnecessary. Currently, I'm using the
> ConsistentLogAndContinueErrorHandler, which had been pretty good, but is
> too verbose for this sort of failure.
>
> Thanks!
>
> E
>
> On Sunday, July 21, 2013 7:20:18 PM UTC-4, Vinny P wrote:
>
>> Hello Evan,
>>
>>
>> On Thu, Jul 18, 2013 at 3:39 PM, Evan Ruff <[email protected]> wrote:
>>>
>>>
>>>    1.
>>>
>>>    Caused by: 
>>> com.google.apphosting.api.**ApiProxy$**CapabilityDisabledException: The API 
>>> call memcache.Get() is temporarily unavailable: Memcache is temporarily 
>>> unavailable. Please see http://code.google.com/status/**appengine 
>>> <http://code.google.com/status/appengine> for more information.
>>>
>>>
>>>
>> Most likely this is the problem; Memcache is temporarily down for some
>> random internal App Engine reason. There's nothing that can be done on your
>> end; just catch the exception and make a query to wherever you persisted
>> the data to (Datastore, Cloud SQL, Cloud Storage, etc).
>>
>>
>> On Thu, Jul 18, 2013 at 3:39 PM, Evan Ruff <[email protected]> wrote:
>>
>>> But that, over and over, until the log entry runs out of memory. Status
>>> indicates it's up, I'm not sure what's going on.
>>>
>>
>>
>> Are you looking at the status page for App Engine? Try looking up
>> Memcache's status using the Capabilities API (
>> https://developers.google.com/**appengine/docs/java/javadoc/**
>> com/google/appengine/api/**capabilities/Capability#**MEMCACHE<https://developers.google.com/appengine/docs/java/javadoc/com/google/appengine/api/capabilities/Capability#MEMCACHE>
>>  ),
>> it tends to be more accurate. The repeated log entries are most likely App
>> Engine internal services retrying the failed memcache access repeatedly.
>>
>>
>> -----------------
>> -Vinny P
>> Technology & Media Advisor
>> Chicago, IL
>>
>> App Engine Code Samples: 
>> http://www.**learntogoogleit.com<http://www.learntogoogleit.com/>
>>
>  --
> 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.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>



-- 
Mobile: +61 430 534 464
Home: +61 3 9764 4439
Work: +61 3 9723 9399

-- 
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.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to