Google News
logo
Memcached - Interview Questions
How can you minimize the Memcached server outages?
Following are the methods to minimize the Memcached server outage :

* When one instance fails, several of them go down, this situation will put larger load on the database server when the client reloaded the lost data. To avoid this, you should write your code to minimize cache stampedes, and it will leave a comparatively less impact.

* You can bring up an instance of Memcached on a new machine using the lost machines IP address.

* The Code is another option to minimize server outages as it gives you the liberty to change the Memcached server list with minimal work.

* Setting timeout value is another option that some Memcached clients implement for Memcached server outage. When your Memcached server goes down, the client will keep trying to send a request till the time-out limit is reached.
Advertisement