zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rammohan ganapavarapu <rammohanga...@gmail.com>
Subject Re: Zookeeper latency calculation
Date Thu, 18 Jul 2019 15:39:29 GMT
I do have a busy system total packet processed by zk is like 60k/s (30k
send and 30k received) and how about the max latencies? is ti always
constant ? for me avg latency is 0 but max latency is showing 40s how is it
possible?




On Wed, Jul 17, 2019 at 8:46 PM Michael Han <hanm@apache.org> wrote:

> Typing send too soon...
>
> >> always give avg_latency "0"
>
> The latency metrics depends on workloads. Try hit your cluster hard with
> some artificially generated heavy read / write workloads, you will see the
> number deviates from 0.
>
> >> If I recall correctly avg_latency is an int, not float
>
> This is now a float on master branch, and the change was made in
> ZOOKEEPER-2641. I remember this because this actually breaks one of our
> internal metrics system, where our system expects an int (the old type).
>
> On Wed, Jul 17, 2019 at 8:43 PM Michael Han <hanm@apache.org> wrote:
>
> > >> always give avg_latency "0"
> >
> > The latency metrics depends on workloads.
> >
> > On Wed, Jul 17, 2019 at 1:34 AM Enrico Olivelli <eolivelli@gmail.com>
> > wrote:
> >
> >> Il mar 16 lug 2019, 19:05 rammohan ganapavarapu <
> rammohanganap@gmail.com>
> >> ha scritto:
> >>
> >> > Hi,
> >> >
> >> > I am trying to understand how zookeeper latency calculated, mntr
> command
> >> > always give avg_latency "0", can some one help how to calculate avg
> >> request
> >> > latency in zookeeper?
> >> >
> >>
> >>
> >> Are you also taking metrics on the client?
> >> Maybe on the server side the value is biased by very fast ops
> >>
> >>
> >> Enrico
> >>
> >> >
> >> >
> >> > Thanks,
> >> > Ram
> >> >
> >>
> >
>

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