It's integer, I can confirm. On Wed, Jul 17, 2019 at 9:38 AM Andor Molnar <[email protected]> wrote:
> If I recall correctly avg_latency is an int, not float.I remember > someone wanted to replace it with a float sometime recently. > Correct me if I'm wrong. > Andor > > > -----Original Message-----From: Norbert Kalmar < > [email protected]>Reply-To: [email protected]: > [email protected]: Re: Zookeeper latency > calculationDate: Wed, 17 Jul 2019 09:27:35 +0200 > Hi Ram, > ZooKeeper is very fast if deployed according to recommendations (nodes > onthe same network, directly connected). It's possible it gives 0 > latency onavg, although usually it's a bit higher.I can recommend > Patrick's smoke test if you wan't to test performance.Especially zk- > smoketest and zk-latencies.py. It has a good readme: > https://github.com/phunt/zk-smoketest > > But "mntr" command is pretty much the easiest tool out of the > box.Especially if you are on 3.4.x > Regards,Norbert > On Tue, Jul 16, 2019 at 7:05 PM rammohan ganapavarapu < > [email protected]> wrote: > > Hi, > > I am trying to understand how zookeeper latency calculated, mntr > > commandalways give avg_latency "0", can some one help how to > > calculate avg requestlatency in zookeeper? > > > > Thanks,Ram >
