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 9F3F911B2E for ; Mon, 7 Apr 2014 04:22:05 +0000 (UTC) Received: (qmail 28309 invoked by uid 500); 7 Apr 2014 04:22:04 -0000 Delivered-To: apmail-zookeeper-user-archive@zookeeper.apache.org Received: (qmail 27978 invoked by uid 500); 7 Apr 2014 04:22:03 -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 27970 invoked by uid 99); 7 Apr 2014 04:22:02 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Apr 2014 04:22:02 +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 comptechgeeky@gmail.com designates 74.125.82.173 as permitted sender) Received: from [74.125.82.173] (HELO mail-we0-f173.google.com) (74.125.82.173) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Apr 2014 04:21:58 +0000 Received: by mail-we0-f173.google.com with SMTP id w61so6105222wes.18 for ; Sun, 06 Apr 2014 21:21:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=1/nEvSwM4le09GqE/bD7jlxK3cxjfSGgjKxnVH11UR4=; b=sKK0B2mhkNSUnb+DnO/YLqNHcalr4YP9n2CdMAu6Z41vLOLWs4NwkMhvMDTCrVdXIV SoihmgGtmzuJoW5qBDdPCmu0nyE65gbHxmylwwzt9ziHAAusngjrxmCZZhNBP7kiKx9Y 2JfO/sqgt9MN94YExllpGqIH4TZCkma5h0T11v/MfqydxXAij7s4SX//6nGM4Xb5uuWy XvLhmx7qeAjQs8xKUpahEp6f6+y6N0QYG8N7AjwcpffyzJAJZmKP6xumV4hPrLzSUgQA IcUNDUAH+iaQHdu3xG3mXCn2ixRBG8vvY6l7+MtC+NIycC59hAz4dXEl1Jh6gr3KrOFw f1ew== X-Received: by 10.180.108.199 with SMTP id hm7mr22875370wib.1.1396844497843; Sun, 06 Apr 2014 21:21:37 -0700 (PDT) MIME-Version: 1.0 Received: by 10.216.208.200 with HTTP; Sun, 6 Apr 2014 21:21:17 -0700 (PDT) In-Reply-To: References: From: Check Peck Date: Sun, 6 Apr 2014 21:21:17 -0700 Message-ID: Subject: Re: Load on Zookeeper cluster? To: user Content-Type: multipart/alternative; boundary=e89a8f3bae5d19bc6b04f66c3444 X-Virus-Checked: Checked by ClamAV on apache.org --e89a8f3bae5d19bc6b04f66c3444 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable I tried following the steps mentioned on this github link - https://github.com/phunt/zk-smoketest for zk-latencies.py. I have 3 node ZK cluster- machineA, machineB, machineC Now I copied the Python program zk-latencies.py and zkclient.py in another machineD in which no zookeeper is running. It's a plain ubuntu box. Now when I ran the program like this - david@machineD:~/zooksmoketest$ ./zk-latencies.py --servers "machineA:2181,machineB::2181,machineC:2181" --znode_count=3D100 --znode_size=3D100 --synchronous Traceback (most recent call last): File "./zk-latencies.py", line 22, in import zkclient File "/home/david/zooksmoketest/zkclient.py", line 17, in import zookeeper, time, threading *ImportError: No module named zookeeper* I got an error as shown above. Any thoughts what wrong I am doing here? I don't have that much experience with Python. Any suggestions will be of great help. @Raul: Any thoughts? On Sun, Apr 6, 2014 at 6:46 PM, Check Peck wrote: > Thanks guys.. I am going to do load test in couple of days using the > exiting Python framework. And I will share the results once I am done. > > > On Tue, Mar 25, 2014 at 11:19 PM, Rakesh R wrote: > >> >> If I understood the case correctly, >> Test :- 3 node ZK cluster, 600 sessions each will do one read >> operation(getChildren call) every one minute. >> >> I'm assuming the calls are equally distributed in time frame and it woul= d >> be like : 600ops/60secs, average 10 ops/sec will go to 3 node cluster >> I also feel it should be, also it would be great if you publish the >> results after your tests. >> >> >> -Rakesh >> >> -----Original Message----- >> From: Check Peck [mailto:comptechgeeky@gmail.com] >> Sent: 26 March 2014 11:19 >> To: user >> Subject: Re: Load on Zookeeper cluster? >> >> Thanks that is also quite useful. >> >> For my above use case, I just need to get the children of a particular >> znode.. And that's what will be happening from all the 600 application >> machines.. >> >> From the wiki you provided, it looks it should be fine right? >> >> >> On Tue, Mar 25, 2014 at 10:13 PM, Rakesh R wrote: >> >> > >> > Please go through the below one, hope it will be helpful to you. Also, >> > I would recommend to have a look at the basic zk configurations too. >> > All the >> > best:) >> > >> > >> > https://cwiki.apache.org/confluence/display/ZOOKEEPER/ServiceLatencyOv >> > erview >> > >> > >> > What client operations(for ex: simply creating many znodes, deleting, >> > setwatches et.) you are planning to perform. >> > Actually I'd like to know what each zkclient will be doing. >> > >> > -Rakesh >> > >> > -----Original Message----- >> > From: Check Peck [mailto:comptechgeeky@gmail.com] >> > Sent: 26 March 2014 09:40 >> > To: user >> > Subject: Re: Load on Zookeeper cluster? >> > >> > On Tue, Mar 25, 2014 at 9:00 PM, Ra=FAl Guti=E9rrez Segal=E9s < >> > rgs@itevenworks.net >> > > wrote: >> > >> > > 1 ZK se >> > >> > >> > >> > Yes one ZK session per application. Zookeeper version I am running >> > currently is 3.4.5 in production. >> > >> > > --e89a8f3bae5d19bc6b04f66c3444--