Thanks James and Rakesh. It helps :) On 05 Jun 2014, at 21:07, James A. Robinson <j...@highwire.org> wrote:
> On Thu, Jun 5, 2014 at 9:45 AM, Rakesh Radhakrishnan > <rakeshr.apa...@gmail.com> wrote: > But this behaviour may not be same if we perform operations through > different clients. Here network delays or other factors may cause different > clients to see a change. > > I'm assuming the other important factor is to ensure that he's > either got a single control loop dispatching the async calls to > his zookeeper connection or that he's coordinating the threads > himself to impose ordering. > > Otherwise, if one has threads x1 and x2 running in parallel, > he'd have no guarantee which thread dispatched its async > call to zookeeper first. > > Jim >