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 25E7EF60E for ; Thu, 28 Mar 2013 09:30:58 +0000 (UTC) Received: (qmail 96384 invoked by uid 500); 28 Mar 2013 09:30:00 -0000 Delivered-To: apmail-zookeeper-user-archive@zookeeper.apache.org Received: (qmail 91737 invoked by uid 500); 28 Mar 2013 09:29:50 -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 81682 invoked by uid 99); 28 Mar 2013 09:24:28 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 28 Mar 2013 09:24:28 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of kuebzky@gmail.com designates 209.85.215.54 as permitted sender) Received: from [209.85.215.54] (HELO mail-la0-f54.google.com) (209.85.215.54) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 28 Mar 2013 09:24:24 +0000 Received: by mail-la0-f54.google.com with SMTP id gw10so17377172lab.27 for ; Thu, 28 Mar 2013 02:24:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:content-type; bh=dH3q4LDOcqUP7cDIE/aqott5L/PSwIp2jbBdmE1EFPc=; b=jYZO5BCdggstYx2qymRyw/rioa9qDfCGDRqFCRa0xRZa57Cbh6ObA2klapszLwlz7f 72JsNBrHFkcFlmtQ2ZCQFnjUyPguKaHIcfZgEW2dWZgKKZjBJVqNO3HgpS3BJz+Hr2zx 6Hzl/LTwn6eAPvHdGoWUA+oBWnzvAvGJUP9M8OneNkYF2qYfFJhR6OqlwKqFXbxGmiNO m0NMMkW8TWJ4jY1yV2skoAiN42XqdTFKLmUvyVuo4UCL85zrFvHGckfb3y3h0GK1HWOF PcyseWl/8jPv1RDHGuIU/EVgbgYkUlhaeDn8B7EOJyAnvYgZaGsOuYgvrjbE+rTpCxUn fL5Q== MIME-Version: 1.0 X-Received: by 10.112.146.133 with SMTP id tc5mr10829193lbb.88.1364462642569; Thu, 28 Mar 2013 02:24:02 -0700 (PDT) Received: by 10.112.88.41 with HTTP; Thu, 28 Mar 2013 02:24:02 -0700 (PDT) In-Reply-To: References: Date: Thu, 28 Mar 2013 10:24:02 +0100 Message-ID: Subject: Re: C client read operation latency From: Kuba Lekstan To: user@zookeeper.apache.org Content-Type: multipart/alternative; boundary=047d7b34335c1ea7bf04d8f8b72d X-Virus-Checked: Checked by ClamAV on apache.org --047d7b34335c1ea7bf04d8f8b72d Content-Type: text/plain; charset=ISO-8859-1 Hello, Have you tried this: https://github.com/phunt/zk-smoketest? Kuba. 2013/3/27 Quan Kong > Dear All, > > Anybody have a latency benchmark for C client operations (Multithread > and singlethread)? > > I am having big latencies when using zookeeper c client multithread read > operations synchronously... The zookeeper server (version 3.4.3) is > running in a standalone mode, on a machine with 2 dual core CPUs and 4GB > memory. > > The zoo_get_children operation, the latency varies from 70ms to 500ms... > But write operations are fast enough... > > Really appreciate some ideas and solutions... > > Thank you very much! > > --Quan > > > > > > > > > --047d7b34335c1ea7bf04d8f8b72d--