PHP ile inşa edilmiştir benim şimdiki web uygulamasında memcached sunucuları çevrimdışı / aşağı işlemek için iyi bir şekilde çalışmak için çalışıyorum.
Ben sadece ne istediğinizi yapmak için nasıl bir yaklaşım gösteren bu linki buldum, ben düşünüyorum: http://web.archive.org/web/20090421075021/http://cmunezero.com/2008/08/11/consistent-memcache-hashing-and-failover-with-php/
Onunla çalışan ve memcache ile yük devretme konusunda PHP Dokümantasyonunu okumaya başladığınızda neyse, bu beni karıştı alır. Neden çevrimdışı memcache sunucuları birlikte çevrimiçi sunucuları ile $realInstance sunucu havuzuna eklenir?
Reading the memcache documentation confuses me even more: http://www.php.net/manual/en/memcache.addserver.php
status
Controls if the server should be flagged as online. Setting this parameter to FALSE and retry_interval to -1 allows a failed server to be kept in the pool so as not to affect the key distribution algorithm. Requests for this server will then failover or fail immediately depending on the memcache.allow_failover setting. Default to TRUE, meaning the server should be considered online.
Teşekkürler,