What is the difference between zookeeper and raft?

Lauren Leder picture Lauren Leder · Dec 11, 2017 · Viewed 8k times · Source

this is really dumb but what does zookeeper do that raft doesn't - not talking about zab but zookeeper itself.

I get raft does leader election etc. w servers but what's the point of zookeeper? is there an analogy anyone has

Answer

Luciano Afranllie picture Luciano Afranllie · Dec 11, 2017

Raft is a consensus algorithm/protocol, Apache Zookeeper is a product, a centralized service for maintaining configuration information, naming, providing distributed synchronization, and providing group services.

Zookeeper uses Zab as the broadcast protocol to propagate state updates between nodes in the ensemble.

So, if that makes sense, you should compare Raft against Zab or Apache Zookeeper agains some other similar system like etcd.