Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 2539C200C14 for ; Tue, 7 Feb 2017 18:53:48 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 23BED160B69; Tue, 7 Feb 2017 17:53:48 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 62B0A160B32 for ; Tue, 7 Feb 2017 18:53:47 +0100 (CET) Received: (qmail 44966 invoked by uid 500); 7 Feb 2017 17:53:46 -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 2433 invoked by uid 99); 7 Feb 2017 07:24:38 -0000 X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.999 X-Spam-Level: * X-Spam-Status: No, score=1.999 tagged_above=-999 required=6.31 tests=[HTML_MESSAGE=2, SPF_PASS=-0.001] autolearn=disabled From: Amar Gajbhiye To: "user@zookeeper.apache.org" Subject: Extremely different readings on different zookeeper deployments Thread-Topic: Extremely different readings on different zookeeper deployments Thread-Index: AdKBEy/3erKKRrCPRKWbPw2PN1AOUA== Date: Tue, 7 Feb 2017 07:24:20 +0000 Message-ID: <6b120d1fe1ad47458ffe87090f9b0af3@1eQ.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [192.168.40.244] Content-Type: multipart/alternative; boundary="_000_6b120d1fe1ad47458ffe87090f9b0af31eQcom_" MIME-Version: 1.0 archived-at: Tue, 07 Feb 2017 17:53:48 -0000 --_000_6b120d1fe1ad47458ffe87090f9b0af31eQcom_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi, I am working on a distributed system where I want to use consensus algorith= m. I am evaluating ZooKeeper for the same. I am trying to quantify read and write operations for zookeeper for version= 3.5.2. I am running following operations. 1. Create 50k Znodes with data 2. Read from those 50k znodes I tried this operations when zookeeper server was running on 4 different re= mote servers in standalone mode. My client was always on same machine. 1. Test case 1 Server configuration : Windows 8 server R2. jdk 1.7.0_80 Avg time required for each write operations : 1.8 ms Avg time required for each read operations : 0.9 ms 2. Test case 2 Server configuration : Windows 8 server R2. jdk 1.7.0_21 Avg time required for each write operation : 1.7 ms Avg time required for each read operation : 0.9 ms 3. Test case 3 Server configuration : Windows 7 jdk 1.7.0_25 Avg time required for each write operation : 35 ms Avg time required for each read operation : 0.8 ms 4. Test case 4 Server configuration : Windows 7 jdk1.8.0_101 Avg time required for each write operation : 40 ms Avg time required for each read operation : 0.9 ms 5. To get network latency out of picture, I kept both client and serv= er on same machine with following configuration Server configuration : Windows 7 jdk1.8.0_101 Avg time required for each write operation : 30 ms Avg time required for each read operation : 0.4 ms Still, I got same readings. I do not understand, why ZooKeeper gave such a poor write performance on so= me machines with windows 7. I tried these test cases with different jdk ver= sions. But I am getting same result. However, Read operation performance was same across all deployments. Can someone please point out the possible cause for such extreme results ? Thanks, Amar --_000_6b120d1fe1ad47458ffe87090f9b0af31eQcom_--