Python Developer Question:
How to minimize the Memcached server outages in your Python Development?
Answer:
☛ • When one instance fails, several of them goes down, this will put larger load on the database server when lost data is reloaded as client make a request. To avoid this, if your code has been written to minimize cache stampedes then it will leave a minimal impact
☛ • Another way is to bring up an instance of Memcached on a new machine using the lost machines IP address
☛ • 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
☛ • Another way is to bring up an instance of Memcached on a new machine using the lost machines IP address
☛ • 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
Previous Question | Next Question |
How to delete a file in Python? | Tell us what is module and package in Python? |