DHT with Replication

Mar 6, 2014 at 10:00 AM
Like I understand , DHT uses shards. It's like Virtual Nodes in Consistent hash ring (as I understand). But there is no replication between shards, am I right.

My goal is to have DHT that can scale automatically from 1-node DHT to many with fault-tolerance.

It terms of NCache : http://www.alachisoft.com/ncache/caching-topology.html
it is Partitioned-Replica Cache.

Is it possible to achieve this with current version of Iris2.DHT ?
Mar 6, 2014 at 4:27 PM
Yes, absolutely. This is how the Isis2 DHT works. Each shard has a replication factor like 2 or 3, meaning that each key maps to some shard and will be replicated on 2 or 3 nodes. We do not organize it as a ring, but you can think of it as being equivalent. (A ring involves perhaps routing through log(N) nodes. With the Isis2 approach no routing occurs: we send requests exactly to the correct set of participating nodes, and only to those nodes)