4 ms·
100 % agree we need good (etch/zookeeper) as a library. I wrote something similar but that provide only (lock/lease) using paxos. The problem with raft ETCD
by skyde 6y ago
100 % agree
we need good (etch/zookeeper) as a library.
I wrote something similar but that provide only (lock/lease) using paxos.
The problem with raft ETCD and zookeeper replicates state machine design is that :
- machine leaving and joining the ensemble dynamically is something hard to do correctly
- optimal quorum size is no more than 5, you can setup other node as observer but it’s hard to decide which of 1000 node should be in the quorum ...
- lima 6y agoThe etcd server can be embedded in other projects, and their Raft library is used by plenty of other projects like CockroachDB.
- skyde 6y agoyes it can but it’s a real pain compared to hashicorp version. I really hope they clean up the library to have a simple API. This way it could become the standard for GO and we can stop wasting effort on multiple raft implementation.