[PYTHON] memcached server | Sololearn: Learn to code for FREE!

+10

[PYTHON] memcached server

Hye everyone. Having a doubt that how can we minimize the Memcached server outages in any Python Development? As it should be minimised! Any solution for the same?

10/8/2020 4:59:21 PM

Hardik

1 Answer

New Answer

+5

When a single instance fails, this will impact on larger load of the database server. The client makes the request when the data is reloaded. In order to avoid this, the code that you have written must be used to lower cache stampedes then it will used to leave a minimal impact. The other way is to bring out the instance of the memcached on a new machine by using the IP address of the lost machine. Another important option is to lower the server outages is code. This code provides you the liberty to modify the memcached server list with minimal work Another way is by setting timeout value that will be one of the options for memcac Class Student: def __init__(self, name): self.name = name S1=Student("XYZ") print(S1.name) hed clients to implement the memcached server outage. When the performance of the server goes down, the client keeps on sending a request until the timeout limit is reached. more info: https://www.freewebmentor.com/questions/how-you-can-minimize-the-memcached-server-outages-in-your-python