Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Zookeeper >> mail # dev >> zookeeper pull request: Stat the realtime tps of zookeepr server


Copy link to this message
-
zookeeper pull request: Stat the realtime tps of zookeepr server
GitHub user nileader opened a pull request:

    https://github.com/apache/zookeeper/pull/5

    Stat the realtime tps of zookeepr server

    
    Apache issue: ZOOKEEPER-1804(https://issues.apache.org/jira/browse/ZOOKEEPER-1804)
    
    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

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/nileader/zookeeper branch-3.3.5-taobao

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/zookeeper/pull/5.patch

----
commit 3c69a3ff4e3705d087c3ef59d0267a7e3ae66a60
Author: ������ <[EMAIL PROTECTED]>
Date:   2013-10-28T09:08:13Z

    Init zookeeper-3.3.5 of apache release.

commit 04f211ec826c33fda99ca4b27ce9cd1bad3f5df3
Author: ������(nileader) <[EMAIL PROTECTED]>
Date:   2013-11-04T06:47:03Z

    Stat the realtime tps of zookeepr server.
    https://issues.apache.org/jira/browse/ZOOKEEPER-1804

----