Uploaded image for project: 'Fabric'
  1. Fabric
  2. FAB-10134

SideDB - CouchDB Performance Test: Invokes, then Queries, 1 org

    XMLWordPrintable

Details

    • System Test
    • Automated
    • Pass
    • Hide

      ======= PTE 0 main Test Summary: executed at Wed Sep 26 2018 08:36:10 GMT-0400 (EDT) =======
      (testorgschannel1:marbles02_private_go_ch1): CONSTANT INVOKE transaction stats
      (testorgschannel1:marbles02_private_go_ch1): Total processes 4
      (testorgschannel1:marbles02_private_go_ch1): Total transactions sent 8000 received 8000
      (testorgschannel1:marbles02_private_go_ch1): failures: proposal 0 transactions 0
      (testorgschannel1:marbles02_private_go_ch1): event: received 8000 timeout 0 unreceived 0
      (testorgschannel1:marbles02_private_go_ch1): start 1537965383505 end 1537965937264 duration 553759 ms
      (testorgschannel1:marbles02_private_go_ch1): TPS 14.45
      (testorgschannel1:marbles02_private_go_ch1): peer latency stats (endorsement)
      (testorgschannel1:marbles02_private_go_ch1): total transactions: 8000 total time: 1260034 ms
      (testorgschannel1:marbles02_private_go_ch1): min: 26 ms max: 1277 ms avg: 157.50 ms
      (testorgschannel1:marbles02_private_go_ch1): orderer latency stats (transaction ack)
      (testorgschannel1:marbles02_private_go_ch1): total transactions: 8000 total time: 204966 ms
      (testorgschannel1:marbles02_private_go_ch1): min: 5 ms max: 10133 ms avg: 25.62 ms
      (testorgschannel1:marbles02_private_go_ch1): event latency stats (end-to-end)
      (testorgschannel1:marbles02_private_go_ch1): total transactions: 8000 total time: 150612723 ms
      (testorgschannel1:marbles02_private_go_ch1): min: 1951 ms max: 50270 ms avg: 18826.59 ms

      ======= PTE 0 main Test Summary: executed at Wed Sep 26 2018 08:47:38 GMT-0400 (EDT) =======
      (testorgschannel1:marbles02_private_go_ch1): CONSTANT QUERY transaction stats
      (testorgschannel1:marbles02_private_go_ch1): Total processes 4
      (testorgschannel1:marbles02_private_go_ch1): Total transactions sent 8000 received 8000
      (testorgschannel1:marbles02_private_go_ch1): start 1537966071402 end 1537966163356 duration 91954 ms
      (testorgschannel1:marbles02_private_go_ch1): TPS 87.00
      Show
      ======= PTE 0 main Test Summary: executed at Wed Sep 26 2018 08:36:10 GMT-0400 (EDT) ======= (testorgschannel1:marbles02_private_go_ch1): CONSTANT INVOKE transaction stats (testorgschannel1:marbles02_private_go_ch1): Total processes 4 (testorgschannel1:marbles02_private_go_ch1): Total transactions sent 8000 received 8000 (testorgschannel1:marbles02_private_go_ch1): failures: proposal 0 transactions 0 (testorgschannel1:marbles02_private_go_ch1): event: received 8000 timeout 0 unreceived 0 (testorgschannel1:marbles02_private_go_ch1): start 1537965383505 end 1537965937264 duration 553759 ms (testorgschannel1:marbles02_private_go_ch1): TPS 14.45 (testorgschannel1:marbles02_private_go_ch1): peer latency stats (endorsement) (testorgschannel1:marbles02_private_go_ch1): total transactions: 8000 total time: 1260034 ms (testorgschannel1:marbles02_private_go_ch1): min: 26 ms max: 1277 ms avg: 157.50 ms (testorgschannel1:marbles02_private_go_ch1): orderer latency stats (transaction ack) (testorgschannel1:marbles02_private_go_ch1): total transactions: 8000 total time: 204966 ms (testorgschannel1:marbles02_private_go_ch1): min: 5 ms max: 10133 ms avg: 25.62 ms (testorgschannel1:marbles02_private_go_ch1): event latency stats (end-to-end) (testorgschannel1:marbles02_private_go_ch1): total transactions: 8000 total time: 150612723 ms (testorgschannel1:marbles02_private_go_ch1): min: 1951 ms max: 50270 ms avg: 18826.59 ms ======= PTE 0 main Test Summary: executed at Wed Sep 26 2018 08:47:38 GMT-0400 (EDT) ======= (testorgschannel1:marbles02_private_go_ch1): CONSTANT QUERY transaction stats (testorgschannel1:marbles02_private_go_ch1): Total processes 4 (testorgschannel1:marbles02_private_go_ch1): Total transactions sent 8000 received 8000 (testorgschannel1:marbles02_private_go_ch1): start 1537966071402 end 1537966163356 duration 91954 ms (testorgschannel1:marbles02_private_go_ch1): TPS 87.00

    Description

      Setup: 
      Network Topology: 1 channel, 1 org, 4 peers per org, each peer with CouchDB container for stateDB, SideDB enabled , 4 kafka, 3 zookeepers, 1 orderers, 1 ca, TLS enabled
      Client Driver: PTE
      Test Steps:
      1) chaincode: each channel has one chancode, marbles02_private go chaincode, instantiated
      2) invoke transactions: 4 threads, each thread sends 2000 queries concurrently

               thread 1 sends to org1 peer1 on channel 1
               thread 2 sends to org1 peer1 on channel 1
               thread 3 sends to org1 peer1 on channel 1
               thread 4 sends to org1 peer1 on channel 1
      3) 8000 normal queries

      4) 8000 query private data

       

      Result:
      1)hardware setup
      2) RPS (request per second) achieved for queries
      3) CPU and memory usage for the Peers and CouchDB containers
       

      Attachments

        Issue Links

          Activity

            People

              rlalgowdar Rajesh Lalgowdar
              rlalgowdar Rajesh Lalgowdar
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: