Why not let the fs handle this ??

Constantin B const at const.org
Wed Jun 7 19:27:59 UTC 2006


How do you manage the tcptimeout to connect to memcache server when its
"half/down" , the timeout must be very low ?


2006/6/7, Don MacAskill <don at smugmug.com>:
>
>
>
> Jon Drukman wrote:
>
> >
> > so removing a downed box from the memcache server pool list promptly is
> > essential - which means all keys get reshuffled.
> >
>
> Actually, what you want to do is keep the server in the pool, but flag
> is as down, so keys don't get reshuffled but clients also don't bother
> to connect.  Hits to it just automatically fail and revert to non-cached
> hits.
>
> As for the timeout, most languages should let you specify socket
> timeouts and the like.  I'd shudder to think of using anything longer
> than 1 second.
>
> Don
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.danga.com/pipermail/memcached/attachments/20060607/93176dbf/attachment.htm


More information about the memcached mailing list