zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andor Molnar <an...@apache.org>
Subject Re: Zookeeper latency calculation
Date Wed, 17 Jul 2019 07:38:41 GMT
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 <
nkalmar@cloudera.com.INVALID>Reply-To: user@zookeeper.apache.orgTo: 
user@zookeeper.apache.orgSubject: 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 <
rammohanganap@gmail.com> 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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message