You should never rely on memcache.
Your Site ->
Memcache ->
(to see if data is available. If no data is available or memcache
is not functional, skip)
Database
(return result from database, and if memcache is available, store
the information)
On Mon, Aug 17, 2009 at 5:45 AM, johnny<[email protected]> wrote:
>
>> To my knowledge it won't trigger an exception on connection failure,
>> because it really shouldn't. If memcache isn't present, your
>> application shouldn't stop executing.
>
> I'm a newby and I got the same problem.
> Ok, I just found out I cannot catch any exception.
>
> But if so and if I got only 1 memcache does it mean that my
> application will break?
> How can I manage the possibility that my memcache is not running
> without a forced blank page and 1 error line in my home page?
>
> Thanks a lot
>