Memcached sequential hashing and network separation, how to solve?

My understanding is that when using memcached in "serial hash" mode, when node is off, clients will reassign the key using an algorithm.

I have 2 clients (A, B) and two servers (C, D)

What if client A starts server C, but B thinks C is still alive?

So, A will continue to use C and D, but B will only use D. How to solve the data inconsistency problem from this case?

+4
source share
2 answers

, A B memcached. , , memcached (C D) (moxi twemproxy). - memcached. (A B) .

+1

"", memcached- "avail_servers", memcached. .

- , , / . , , "A" "" "", , .

0

All Articles