Re: Something about performance of Zookeeper

2011-03-09 Thread Flavio Junqueira
How many outstanding requests do you have at a time, Qian? Only one? If so, you should instead have multiple outstanding. That is, you don't wait for the callback to issue a new request.-FlavioOn Mar 9, 2011, at 3:44 AM, Qian Ye wrote:Hi Flavio, asynchronous calls doesn't perform better, here is so

[jira] Created: (ZOOKEEPER-1011) Java Barrier Documentation example has a race condition issue

2011-03-09 Thread Semih Salihoglu (JIRA)
Java Barrier Documentation example has a race condition issue - Key: ZOOKEEPER-1011 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1011 Project: ZooKeeper Issue Type: Bug

[jira] Updated: (ZOOKEEPER-1011) Java Barrier Documentation example has a race condition issue

2011-03-09 Thread Semih Salihoglu (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-1011?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Semih Salihoglu updated ZOOKEEPER-1011: --- Description: There is a race condition in the Barrier example of the java doc: h

Re: Something about performance of Zookeeper

2011-03-09 Thread lei he
Hi Flavio and Qian, I did some tests in my environment, too. And it seems it is not as good as it supposed to be. I used async interface(zoo_aget), send about 1 requests to3 servers at the same time. But it turn out to be on the same level with Qian's test. Is there anything I should pay atten

Re: Something about performance of Zookeeper

2011-03-09 Thread Qian Ye
Hi Flavio, when I use asynchronous calls, i won't wait for the callback to issue a new request. Could you tell me the test method you used in your test. What is the CPU utilization rate when the perforance reach the maximum? On Wed, Mar 9, 2011 at 5:28 PM, Flavio Junqueira wrote: > How many outs

[jira] Assigned: (ZOOKEEPER-1011) Java Barrier Documentation example has a race condition issue

2011-03-09 Thread Mahadev konar (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-1011?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mahadev konar reassigned ZOOKEEPER-1011: Assignee: Semih Salihoglu > Java Barrier Documentation example has a race condi

Re: Something about performance of Zookeeper

2011-03-09 Thread Benjamin Reed
are you using 1 gbs ethernet or 100 mbs? those numbers seem to correspond to 100 mbs. you may want to do a simple bandwidth test just to make sure. how long are you running the test for? also, you might check that the clients are being spread around the zk servers. using the 4 letter works or phu

Re: Python binding

2011-03-09 Thread nicholas harteau
To that end, is the client wire protocol documented anywhere? I would be interested in some native-language client development. Mahadev Konar wrote: > Not that I know of :). There is the usual python using c (zkpython in > contrib) but I am not ware of anything other than that. > > thanks > mah

Re: Python binding

2011-03-09 Thread Benjamin Reed
all of the packets are in zookeeper.jute, which is use to generate the serialization classes for C and java. unfortunately the modified version of jute that we are using only generates C and java code. it is one of the reasons we were looking at moving to avro. we do need to document what is used w

[jira] Updated: (ZOOKEEPER-837) cyclic dependency ClientCnxn, ZooKeeper

2011-03-09 Thread Thomas Koch (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-837?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Thomas Koch updated ZOOKEEPER-837: -- Attachment: ZOOKEEPER-837.patch Hi Mahadev, the inconsistent synchronization has been that

[jira] Commented: (ZOOKEEPER-837) cyclic dependency ClientCnxn, ZooKeeper

2011-03-09 Thread Hadoop QA (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-837?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13004760#comment-13004760 ] Hadoop QA commented on ZOOKEEPER-837: - -1 overall. Here are the results of testing

Re: [jira] Created: (ZOOKEEPER-1009) BookKeeper as a sequencer

2011-03-09 Thread Suranjan Kumar
Hi Flavio, Since long I have been wanting to contribute to ZooKeeper. Looking at the this ticket, I am willing to start with it if given opportunity. Could you please help me with it on how to go about this feature? (Is someone else doing it?) What is process of contributing to ZooKeeper? How t

Re: Review Request: FD options in ZooKeeper

2011-03-09 Thread Camille Fournier
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/483/#review317 --- trunk/src/java/main/org/apache/zookeeper/common/fd/InterArrivalSampling

Re: Something about performance of Zookeeper

2011-03-09 Thread lei he
thanks for reply. I use scp to check my ethernet again, the transmission rate is about 60MB/s. I send about 10 requests in each process(60 processes in 2 clients), and it costs about 550 seconds to finish all the requests. And I am sure that all the processes had been spread around all the serv

[jira] Updated: (ZOOKEEPER-107) Allow dynamic changes to server cluster membership

2011-03-09 Thread Alexander Shraer (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-107?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alexander Shraer updated ZOOKEEPER-107: --- http://wiki.apache.org/hadoop/ZooKeeper/ClusterMembership > Allow dynamic changes to

[jira] Commented: (ZOOKEEPER-107) Allow dynamic changes to server cluster membership

2011-03-09 Thread Alexander Shraer (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-107?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13004983#comment-13004983 ] Alexander Shraer commented on ZOOKEEPER-107: I've added a proposed algorith

dynamic membership (reconfiguration) in Zookeeper

2011-03-09 Thread Alexander Shraer
Hi, I'm working on adding support for dynamic membership changes in Zookeeper clusters (ZOOKEEPER-107). I've added a proposed algorithm and some discussion here: https://cwiki.apache.org/confluence/display/ZOOKEEPER/ClusterMembership Any comments and suggestions are very welcome. Best