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 AB371F3C1 for ; Thu, 28 Mar 2013 00:25:28 +0000 (UTC) Received: (qmail 47382 invoked by uid 500); 28 Mar 2013 00:25:28 -0000 Delivered-To: apmail-zookeeper-user-archive@zookeeper.apache.org Received: (qmail 47320 invoked by uid 500); 28 Mar 2013 00:25:27 -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 Delivered-To: moderator for user@zookeeper.apache.org Received: (qmail 13136 invoked by uid 99); 27 Mar 2013 21:59:33 -0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of hit.kongquan@hotmail.com designates 65.55.116.80 as permitted sender) X-EIP: [4FwMddZBLiEQ2Ab5i7Ly15MkdPa1+MCZ] X-Originating-Email: [hit.kongquan@hotmail.com] Message-ID: Date: Wed, 27 Mar 2013 18:59:02 -0300 From: Quan Kong User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130307 Thunderbird/17.0.4 MIME-Version: 1.0 To: user@zookeeper.apache.org Subject: C client read operation latency Content-Type: multipart/alternative; boundary="------------020206030505050702040603" X-OriginalArrivalTime: 27 Mar 2013 21:59:04.0505 (UTC) FILETIME=[4C15D290:01CE2B36] X-Virus-Checked: Checked by ClamAV on apache.org --------------020206030505050702040603 Content-Type: text/plain; charset="GB2312" Content-Transfer-Encoding: 7bit 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 --------------020206030505050702040603--