github.com/tenywen/fabric@v1.0.0-beta.0.20170620030522-a5b1ed380643/bddtests/regression/node/performance/README.md (about)

     1  ## Performance test engine, scripts, and supporting files
     2  Overview.
     3  
     4  ## SETUP
     5  
     6  ## USAGE
     7  
     8  
     9  ### Examples
    10  
    11  
    12  ### Examples - Daily Performance Tests:
    13  
    14  Stress tests: example02 chaincode, node, gRPC
    15  
    16  1. send invokes to all 4 peers for 3 min, each thread sends invokes to each of
    17     the 4 peers
    18  2. send queries to all 4 peers for 3 min, each thread sends queries to each of
    19     the 4 peers
    20  
    21  Concurrency tests: auction chaincode, node, gRPC
    22  
    23  1. send 4000 concurrnt invokes with 1kb-2kb random payload, each thread sends
    24     1000 invokes to each of the 4 peers
    25  2. send 4000 concurrnt queries, each thread sends 1000 queries to each of
    26     the 4 peers
    27  
    28  ### Examples - Long Run Performance Tests:
    29  
    30  1. send 1 invoke with 1kb-2kb random payload per second use auction chaincode
    31     for 72 hours
    32  2. still to add another test: mix (invoke followed by query)...
    33  
    34  
    35  <a rel="license" href="http://creativecommons.org/licenses/by/4.0/"><img alt="Creative Commons License" style="border-width:0" src="https://i.creativecommons.org/l/by/4.0/88x31.png" /></a><br />This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by/4.0/">Creative Commons Attribution 4.0 International License</a>.
    36  s