With memcache, can you add / remove hosts on the fly?

with memcache, can you add / remove nodes on the fly?

if the node parameter is omitted, is it automatically redistributed?

+4
source share
2 answers

Memcached females do not know about each other. Node management is fully handled at the client level. Most client implementations rely on serial key hashing to determine which server in the ring contains values. Many of the client libraries will discard other nodes in the ring when Node becomes unavailable.

I am not aware of any memcached clients trying to provide clustering or high availability.

+2
source

No, but you can try Hazelcast . In addition, he has not yet stated that version 1.8.5 supports the memcache protocol. The next release will have all the documentation about this.

So, you can replace Memcached servers with Hazelcast. And Hazelcast really supports adding and removing nodes on the fly.

+2
source

Source: https://habr.com/ru/post/1314244/


All Articles