ZooKeeper reliability - three versus five nodes

前端 未结 2 1372
轻奢々
轻奢々 2020-12-13 02:23

From the ZooKeeper FAQ:

Reliability:

A single ZooKeeper server (standalone) is essentially a coordinator with
no reliability (a single serving node failure          


        
相关标签:
2条回答
  • 2020-12-13 02:54

    Basically, Zookeeper will work just fine as long as Active Zookeepers are in MAJORITY compared to failed Zookeepers. Also, in case of even quorum size i.e 2,4,6 etc. Failed = Active, because of that its not recommended.

    Both 3 and 4 will handle only 1 faliures then why whould we want to used 4 Zookeepers instead of 3.

    0 讨论(0)
  • 2020-12-13 03:04

    Zookeeper requires that you have a quorum of servers up, where quorum is ceil(N/2). For a 3 server ensemble, that means 2 servers must be up at any time, for a 5 server ensemble, 3 servers need to be up at any time.

    0 讨论(0)
提交回复
热议问题