+ 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?

8th Oct 2020, 4:59 PM
Hardik
Hardik - avatar
1 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-JUMP_LINK__&&__python__&&__JUMP_LINK
8th Oct 2020, 8:04 PM
Galaxy-Coding (inactive)
Galaxy-Coding (inactive) - avatar