<br>How do you manage the tcptimeout to connect to memcache server when its "half/down" , the timeout must be very low ?<br><br><br><div><span class="gmail_quote">2006/6/7, Don MacAskill <<a href="mailto:don@smugmug.com">
don@smugmug.com</a>>:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br><br>Jon Drukman wrote:<br><br>><br>> so removing a downed box from the memcache server pool list promptly is
<br>> essential - which means all keys get reshuffled.<br>><br><br>Actually, what you want to do is keep the server in the pool, but flag<br>is as down, so keys don't get reshuffled but clients also don't bother<br>
to connect. Hits to it just automatically fail and revert to non-cached<br>hits.<br><br>As for the timeout, most languages should let you specify socket<br>timeouts and the like. I'd shudder to think of using anything longer
<br>than 1 second.<br><br>Don<br></blockquote></div><br>