I am using Memcache (Not memcacheD) . If I have 10 memcache servers and 1 of it fails does that get removed from pool automatically ? I mean when my application tries to make a request for cache will it ever try to get key data from that 1 failed server ?
Share
I don’t think that it gets removed, but there is auto-failover provided if you have multiple nodes added. You can configure that failover behaviour here: http://php.net/manual/en/memcache.ini.php
Here is a quote from the documentation:
Of course, this assumes that all data is mirrored on those nodes, because you have to implement sharding/clustering on your application side.