Return-Path: X-Original-To: apmail-zookeeper-user-archive@www.apache.org Delivered-To: apmail-zookeeper-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B4D5417E82 for ; Thu, 23 Oct 2014 13:14:40 +0000 (UTC) Received: (qmail 14261 invoked by uid 500); 23 Oct 2014 13:14:40 -0000 Delivered-To: apmail-zookeeper-user-archive@zookeeper.apache.org Received: (qmail 14214 invoked by uid 500); 23 Oct 2014 13:14:40 -0000 Mailing-List: contact user-help@zookeeper.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@zookeeper.apache.org Delivered-To: mailing list user@zookeeper.apache.org Received: (qmail 14200 invoked by uid 99); 23 Oct 2014 13:14:39 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Oct 2014 13:14:39 +0000 X-ASF-Spam-Status: No, hits=2.8 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,URI_HEX X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of shralex@gmail.com designates 209.85.220.177 as permitted sender) Received: from [209.85.220.177] (HELO mail-vc0-f177.google.com) (209.85.220.177) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Oct 2014 13:14:35 +0000 Received: by mail-vc0-f177.google.com with SMTP id hq11so600789vcb.36 for ; Thu, 23 Oct 2014 06:14:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=NufCTehfs40NY/pa16w84mvfenIfGf7QpetlSPzXSUQ=; b=dM3HkEkBMt0OZG5TBLtnuhGe4kHTpniFP/KwwYBauEHTt0YTRJvN3gayIDVZVxq3RS zQLd8e4B9PQy+BnO0gLEX+r6jlEm7j4fXY+oU8TWpwKYQNEtKU0BBpThOJkQuKZJ8Uhx QGUc+CKh9lKBAUJxU9xBVXpehIZSveIv8hwEcHvG7wn3q0UYuMaSF2Ixm8pRc3bF30FC SDJDf2b738HTUYv8gbZXdqYxwv7+1fU+fTuvt/Btvqx4i0tBg0DQg077zWrm0rNDtaoX qQx/vdDrRrvMnr5onA2yQAp5We+URF5LgbUU1rDkzu+rtDQ4NvAgF3n9mH/WuwZkvSdY zpbQ== MIME-Version: 1.0 X-Received: by 10.52.126.243 with SMTP id nb19mr2909615vdb.23.1414070054530; Thu, 23 Oct 2014 06:14:14 -0700 (PDT) Received: by 10.31.163.2 with HTTP; Thu, 23 Oct 2014 06:14:14 -0700 (PDT) Received: by 10.31.163.2 with HTTP; Thu, 23 Oct 2014 06:14:14 -0700 (PDT) In-Reply-To: <1414069002518-7580446.post@n2.nabble.com> References: <1414069002518-7580446.post@n2.nabble.com> Date: Thu, 23 Oct 2014 14:14:14 +0100 Message-ID: Subject: Re: Latency in asynchronous mode From: Alexander Shraer To: user@zookeeper.apache.org Content-Type: multipart/alternative; boundary=bcaec520ef5749b4f2050616d753 X-Virus-Checked: Checked by ClamAV on apache.org --bcaec520ef5749b4f2050616d753 Content-Type: text/plain; charset=UTF-8 Maybe due to queueing at the leader in asynchronous mode - if in your experiment you have one client in sync mode the leader has just one op in the queue at a time On Oct 23, 2014 1:57 PM, "Ibrahim" wrote: > Hi folks, > > I am testing ZooKeeper latency in Asynchronous mode. I am sending update > (write) requests to Zookeeper cluster that consists of 5 physical > Zookeeper. > > So, when I run the stat command I get high latency like: > Latency min/avg/max: 7/339/392 > Latency min/avg/max: 1/371/627 > Latency min/avg/max: 1/371/627 > Latency min/avg/max: 1/364/674 > I guess such high latency correspond to fsync (batch requests). But I wish > if someone could help me and explain this behaviour. > > However, testing Zookeeper using Synchronous mode, it gives me reasonable > result like: > Latency min/avg/max: 6/24/55 > Latency min/avg/max: 7/22/61 > Latency min/avg/max: 7/30/65 > > Note that the latency measures in milliseconds. > > I look forward to hearing from you. > > Ibrahim > > > > > > > > -- > View this message in context: > http://zookeeper-user.578899.n2.nabble.com/Latency-in-asynchronous-mode-tp7580446.html > Sent from the zookeeper-user mailing list archive at Nabble.com. > --bcaec520ef5749b4f2050616d753--