Re: zookeeper needs 3 nodes to support 1 failure

2014-06-11 Thread Edward Ribeiro
Hi Olivier, On Tue, Jun 10, 2014 at 6:23 PM, Olivier Mallassi < olivier.malla...@gmail.com> wrote: > Is that order guaranteed with zk? > ZooKeeper provides a single atomic ordered sequence of operations by the means of its Paxos-like algorithm, ZAB (ZooKeeper Atomic Broadcast). Cassanda impleme

Re: zookeeper needs 3 nodes to support 1 failure

2014-06-10 Thread Ted Dunning
ZK provides strong ordering guarantees even under partition scenarios. See http://aphyr.com/ for more information about how Cassandra fails in this. On Tue, Jun 10, 2014 at 2:23 PM, Olivier Mallassi < olivier.malla...@gmail.com> wrote: > Hum, not sure to get your point Ted > > If I wrtie a da

Re: zookeeper needs 3 nodes to support 1 failure

2014-06-10 Thread Olivier Mallassi
Hum, not sure to get your point Ted If I wrtie a data into coherence, the next read Will be consistent If I wrtie a data into cassandra with the quorum, idem I can yet have "race condition" if processA writes A end processB writes A' order is not guaranteed Is that order guaranteed with zk? Ano

Re: zookeeper needs 3 nodes to support 1 failure

2014-06-10 Thread Ted Dunning
On Tue, Jun 10, 2014 at 9:24 AM, Olivier Mallassi < olivier.malla...@gmail.com> wrote: > What are the guarantees zookeeper provide and a data grid does not provide? > the lock? a sequential consistency? > You said it. Consistency is what you lose.

zookeeper needs 3 nodes to support 1 failure

2014-06-10 Thread Olivier Mallassi
hi all a quick question that you would find stupid but... Looking at Zookeeper, you need 3 nodes to support 1 node failure. Looking at in memory data grid (coherence & co...), with 2 replicas, you can still continue working. So "basically", you need less replica to support the same amount of fai