Re: Leader election

2018-12-07 Thread Maciej Smoleński
On Fri, Dec 7, 2018 at 3:03 AM Michael Borokhovich wrote: > We are planning to run Zookeeper nodes embedded with the client nodes. > I.e., each client runs also a ZK node. So, network partition will > disconnect a ZK node and not only the client. > My concern is about the following statement

Re: Leader election

2018-12-06 Thread Maciej Smoleński
Hello, Ensuring reliability requires to use consensus directly in your service or change the service to use distributed log/journal (e.g. bookkeeper). However following idea is simple and in many situation good enough. If you configure session timeout to 15 seconds - then zookeeper client will