You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Idea is to fix single point of failure of memcache. For now we have two clusters, each with one node on our production. From time to time, some maintenance on a either memcache server is needed, so we would like to setup a config that:
replicates both clusters (A cluster has same data as B)
warmup of either cluster if one goes down (If A cluster goes down, we would need B to warmup data to A when A comes back and the other way around if B goes down, A should warmup B.)
I'm sure such redundant setup should be pretty useful for anyone using memcache and hopes to achieve redundancy, that memcache by default does not have.
Note: same server names used in cold and warm are intentionally, so that it replicates to both, no matter which one goes down.
This setup should work, but unfortunately, it doesn't work as expected.
As we shutdown A server, GET's for our keys continue to work. Then when A comes up, we keep running same GET's in order to warmup A that was down. After a while we decide to shutdown B since A should have the keys already warmed up in this time. When B shuts down, keys start failing.
Any help on this setup would be greatly appreciated. I'm sure it would help others too.
The text was updated successfully, but these errors were encountered:
Idea is to fix single point of failure of memcache. For now we have two clusters, each with one node on our production. From time to time, some maintenance on a either memcache server is needed, so we would like to setup a config that:
I'm sure such redundant setup should be pretty useful for anyone using memcache and hopes to achieve redundancy, that memcache by default does not have.
For now we have came up with this config:
Note: same server names used in cold and warm are intentionally, so that it replicates to both, no matter which one goes down.
This setup should work, but unfortunately, it doesn't work as expected.
As we shutdown A server, GET's for our keys continue to work. Then when A comes up, we keep running same GET's in order to warmup A that was down. After a while we decide to shutdown B since A should have the keys already warmed up in this time. When B shuts down, keys start failing.
Any help on this setup would be greatly appreciated. I'm sure it would help others too.
The text was updated successfully, but these errors were encountered: