tags:

views:

27

answers:

2

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

if a node goes down, does it redistribute automatically?

A: 

Memcached daemons themselves do not have any knowledge of one another. Node management is handled completely at the client level. Most client implementations rely on consistent hashing of keys to determine which server in a ring the values reside on. Many of the client libraries will failover to other nodes in the ring when a node becomes unavailable.

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

Eric Hauser
A: 

No, But you can try Hazelcast. Also it doesn't state yet with version 1.8.5 it does support memcache protocol. The next release will have all documentation about it.

So you can replace your Memcached servers with Hazelcast. And Hazelcast does support adding and removing nodes on the fly.

Fuad Malikov