Login
Remember
Register
Ask a Question
How can you minimize the Memcached server outages?
0
votes
asked
Jun 16, 2022
in
MemCached
by
Robindeniel
How can you minimize the Memcached server outages?
memcached-server
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
Jun 16, 2022
by
Robindeniel
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.
...