Uploaded image for project: 'ZooKeeper'
  1. ZooKeeper
  2. ZOOKEEPER-3823

Add a benchmark tool for testing watch feature performance

Details

    • New Feature
    • Status: In Progress
    • Major
    • Resolution: Unresolved
    • None
    • None
    • scripts

    Attachments

      Issue Links

        Activity

          maoling Ling Mao added a comment -

          Tested in Windows OS:

          C:\Users\maoling\apache-zookeeper-3.7.0-SNAPSHOT-bin\bin>zkWatchBenchmark.cmd -root_path /test -threads 50 znode_count 30000 -znode_size 1000 -force -connect_string 127.0.0.1:2181 -timeout 300000
          
          
          Notification expected count: 1500000, received count: 1500000 (1.0), loss count: 0 (0.0)
          Latency distribution:
          Avg latency: 119.2061 ms/op
          Fastest latency: 3.0 ms/op
          Slowest latency: 328.0 ms/op
          10th percentile notification latency: 109 ms
          25th percentile notification latency: 109 ms
          50th percentile notification latency: 116 ms
          75th percentile notification latency: 125 ms
          90th percentile notification latency: 133 ms
          95th percentile notification latency: 141 ms
          99th percentile notification latency: 173 ms
          Total time:252326 ms, watch benchmark total time: 72319 ms, throughput:20741.4372 op/s
          
          maoling Ling Mao added a comment - Tested in Windows OS: C:\Users\maoling\apache-zookeeper-3.7.0-SNAPSHOT-bin\bin>zkWatchBenchmark.cmd -root_path /test -threads 50 znode_count 30000 -znode_size 1000 -force -connect_string 127.0.0.1:2181 -timeout 300000 Notification expected count: 1500000, received count: 1500000 (1.0), loss count: 0 (0.0) Latency distribution: Avg latency: 119.2061 ms/op Fastest latency: 3.0 ms/op Slowest latency: 328.0 ms/op 10th percentile notification latency: 109 ms 25th percentile notification latency: 109 ms 50th percentile notification latency: 116 ms 75th percentile notification latency: 125 ms 90th percentile notification latency: 133 ms 95th percentile notification latency: 141 ms 99th percentile notification latency: 173 ms Total time:252326 ms, watch benchmark total time: 72319 ms, throughput:20741.4372 op/s

          People

            maoling Ling Mao
            maoling Ling Mao
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 40m
                40m