Stat the realtime tps of zookeepr server #5

Closed
wants to merge 3 commits into
from

Conversation

Projects
None yet
1 participant
@nileader

nileader commented Nov 4, 2013

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

@nileader nileader closed this Nov 7, 2013

zhaxiancheng pushed a commit to zhaxiancheng/zookeeper that referenced this pull request Sep 8, 2016

afine pushed a commit to afine/zookeeper that referenced this pull request Oct 20, 2017

abefine GitHub Enterprise
Backport ZOOKEEPER-2829 to cdh6.x (#5)
Reason: Maintainability
Author: Abraham Fine
Ref: CDH-58017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment