oh, yes! the memcached is just a cacha, if it down we will get data from
mysql.

In fact, my intention is to know what is happen when I can't get data from
memcached. When I can't get data for the server down, I will log it for
tracing the cause of the problem. Of cource, monitor the memcached servers
can do it.


2007/12/7, Brian Moon <[EMAIL PROTECTED]>:
>
> yayu xie wrote:
> > I also work in PHP, and C/C++ needs some.
> >
> > I just have to consider the issue of when the server down, procedures on
> > how to handle.
>
> The clients should have built in failover.  I know PHP does unless you
> tell it not to.  It will just save to another server and get from
> another server until the correct server comes back online.  Some people
> don't like that as stale cache can happen if a server is flapping (going
> up and down over and over).  I personally don't have that issue in my
> use case.
>
> --
>
> Brian Moon
> Senior Developer
> ------------------------------
> When you care enough to spend the very least.
> http://dealnews.com/
>
>


-- 
My WebSite : http://www.yayu.org

Reply via email to