zookeeper-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hadoop QA (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ZOOKEEPER-1804) Stat the realtime tps of zookeepr server
Date Thu, 07 Nov 2013 10:28:17 GMT

    [ https://issues.apache.org/jira/browse/ZOOKEEPER-1804?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13815823#comment-13815823

Hadoop QA commented on ZOOKEEPER-1804:

-1 overall.  Here are the results of testing the latest attachment 
  against trunk revision 1539529.

    +1 @author.  The patch does not contain any @author tags.

    -1 tests included.  The patch doesn't appear to include any new or modified tests.
                        Please justify why no new tests are needed for this patch.
                        Also please list what manual steps were performed to verify this patch.

    +1 javadoc.  The javadoc tool did not generate any warning messages.

    +1 javac.  The applied patch does not increase the total number of javac compiler warnings.

    -1 findbugs.  The patch appears to introduce 4 new Findbugs (version 1.3.9) warnings.

    +1 release audit.  The applied patch does not increase the total number of release audit

    +1 core tests.  The patch passed core unit tests.

    +1 contrib tests.  The patch passed contrib unit tests.

Test results: https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/1746//testReport/
Findbugs warnings: https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/1746//artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Console output: https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/1746//console

This message is automatically generated.

> Stat the realtime tps of zookeepr server
> ----------------------------------------
>                 Key: ZOOKEEPER-1804
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1804
>             Project: ZooKeeper
>          Issue Type: Improvement
>          Components: server
>            Reporter: Leader Ni
>            Assignee: Leader Ni
>             Fix For: 3.5.0
>         Attachments: ZOOKEEPER-1804.patch, ZOOKEEPER-1804.patch
> At this time, we assessed whether zookeeper supports some business scenarios, always
use the number of subscribers, or to assess the number of clients。
> You konw, some times, many client connection with zookeeper, but do noting, and the onthers
do complex business logic。
> So,we must stat the realtime tps of zookeepr。
> [-----------------Solution-------------------]
> Solution1: 
> If you only want to know the real time transaction processed, you can use the patch "ZOOKEEPER-1804.patch".
> Solution2:
> If you also want to know how client use zookeeper, and the real time r/w ps of each zookeeper
client, you can use the patch "ZOOKEEPER-1804-2.patch"
> use java properties: -Dserver_process_stats=true to open the function.
> Sample:
> $>echo rwps|nc localhost 2181
> RealTime R/W Statistics:
>         getChildren2:   0.5994005994005994
>         createSession:  1.6983016983016983
>         closeSession:   0.999000999000999
>         setData:     110.18981018981019
>         setWatches:   129.17082917082917
>         getChildren:    68.83116883116884
>         delete:      19.980019980019982
>         create:      22.27772227772228
>         exists:      1806.2937062937062
>         getDate:     729.5704295704296

This message was sent by Atlassian JIRA

View raw message