You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "王震 (JIRA)" <ji...@apache.org> on 2017/04/28 09:58:04 UTC

[jira] [Created] (ZOOKEEPER-2768) Some ideas about four word command

王震 created ZOOKEEPER-2768:
-----------------------------

             Summary: Some ideas about four word command
                 Key: ZOOKEEPER-2768
                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2768
             Project: ZooKeeper
          Issue Type: Improvement
          Components: contrib
    Affects Versions: 3.5.2, 3.5.1, 3.4.10
            Reporter: 王震
            Priority: Critical


Some ideas about four word command
1) about cons,can we add command dimension data,such like
now
/10.204.2.39:63943[1](queued=0,recved=7,sent=7,sid=0x154c32e8c2a5b8c,lop=PING,est=1483669807748,
to=10000,lzxid=0xffffffffffffffff,lresp=1493362823544,llat=0,minlat=0,avglat=0,maxlat=1)
-----------------------------------
after
/10.204.2.39:63943[1](queued=0,recved=7,sent=7,sid=0x154c32e8c2a5b8c,lop=PING,est=1483669807748,
to=10000,lzxid=0xffffffffffffffff,lresp=1493362823544,llat=0,minlat=0,avglat=0,maxlat=1,
cmd={{name=ping,count=10000,time=123405,maxAvg=34},{name=setData,count=5000,time=2246,maxAvg=21},{name=getData,count=3000,time=34345,maxAvg=14}})

2) about wchc and wchp,can we add param in order to return  litter  data,such as
wchc 0x154c32e8c2a5b8c
wchp /path/temp

3)many scenarios we need to monitor the detailed slow request,so we need a slow log queue,such as

slow

setData  /path/temp   aaaaaaaaaaaaaaa clientIp useTime
setData  /path/temp   bbbbbbbbbbbbbbb clientIp useTime






--
This message was sent by Atlassian JIRA
(v6.3.15#6346)