Accumulo achieved this by using ephemeral nodes as "locks". When the active server loses its lock and the ephemeral node disappears, the next server in the queue gets the lock and takes over. This pattern might be easier to implement using something like Curator.
On Wed, Jul 6, 2016, 09:47 Sheroo Pratap <[email protected]> wrote: > Hi Experts, > > I am new in zookeeper, i want to deploy a web application in tomcat with > high availability (not with load balancer, an Active/Passive scenario). > > Could anyone help me out how i can achieve high availability of my > application using zookeeper. > > Thanks in Advance. > > > Thanks and Regards > Sheroo Pratap >
