Blockchain Service benchmark
    • PDF

    Blockchain Service benchmark

    • PDF

    Article Summary

    Available in VPC

    This chapter shows the result of testing performance figure changes according to the amount of resources assigned for each Blockchain Service node and node configuration.

    Note

    This test measured performance based on Hyperledger Fabric built in the NAVER Cloud Platform environment, and the measurement result may vary depending on various factors such as testing machine's hardware specification and complexity of the smart contract.
    Please use these figures as references only.

    Refer to the following page to see the test result by the Hyperledger Fabric foundation.

    Test environment

    • Hyperledger Fabric Version : 2.2.3
    • Test machine environment
      • OS : CentOS Linux release 7.3.1611 (Core)
      • Processor : Intel(R) Xeon(R) Gold 5220 CPU @ 2.20GHz
      • vCPU(s) : 16
      • Thread(s) per core : 2
      • RAM : 32GB
      • HDD : 50GB SSD

    Network and test configuration

    The performance test uses a network configuration consisting one orderer and 2 peers by default as shown below, and the network has nodes distributed in a k8s cluster environment.

    Performance test report

    1. Performance comparison according to resource size of orderer/peer

    • Case 1-1
      • Orderer: 1 unit, 0.35 vCPU, 70 MB memory
      • Peer: 2 units (LevelDB), 1.1 vCPU, 2.8 GB memory
    NameSuccessFailSend Rate (TPS)Max Latency (s)Min Latency (s)Avg Latency (s)Throughput (TPS)
    Read Transaction10354301725.60.060.000.011725.4
    Write Transaction180230300.423.230.0512.74245.6
    • Case 1-2
      • Orderer: 1 unit, 1.75 vCPU, 1.4 GB memory
      • Peer: 2 units (LevelDB), 1.1 vCPU, 2.8 GB memory
    NameSuccessFailSend Rate (TPS)Max Latency (s)Min Latency (s)Avg Latency (s)Throughput (TPS)
    Read Transaction10448901741.40.050.000.011741.3
    Write Transaction266990445.02.060.040.09430.3

    You can see in case 1-2 that the writing performance increases by approximately 57% depending on the orderer's CPU/memory resource size.

    2. Performance comparison according to resource size when using peer CouchDB

    • Case 2-1
      • Orderer: 1 unit, 0.35 vCPU, 700 MB memory
      • Peer: 2 units (1.1 vCPU, 2.8 GB memory), 2 units of CouchDB (1 vCPU, 2 GB memory)
    NameSuccessFailSend Rate (TPS)Max Latency (s)Min Latency (s)Avg Latency (s)Throughput (TPS)
    Read Transaction9428001571.24.740.000.601571.0
    Write Transaction155630259.340.670.0821.72154.7
    • Case 2-2
      • Orderer: 1 unit, 1.75 vCPU, 1.4 GB memory
      • Peer: 2 units (1.1 vCPU, 2.8 GB memory), 2 units of CouchDB (2 vCPUs, 2 GB memory)
    NameSuccessFailSend Rate (TPS)Max Latency (s)Min Latency (s)Avg Latency (s)Throughput (TPS)
    Read Transaction981398611649.85.660.001.391619.3
    Write Transaction167180278.611.280.097.31235.9
    • Case 2-3
      • Orderer: 1 unit, 1.75 vCPU, 1.4 GB memory
      • Peer: 2 units (2.2 vCPUs, 2.8 GB memory), 2 units of CouchDB (2 vCPUs, 2 GB memory)
    NameSuccessFailSend Rate (TPS)Max Latency (s)Min Latency (s)Avg Latency (s)Throughput (TPS)
    Read Transaction10193301698.80.050.000.011698.6
    Write Transaction178540297.58.010.084.44262.6

    You can see that writing/reading performances are enhanced according to resources sizes of orderer/peer/CouchDB CPU. Writing performance of LevelDB may be differentiated from CouchDB by approximately +60%.

    3. Reading performance comparison according to the number of peers

    • Case 3-1
      • Orderer: 1 unit, 0.35 vCPU, 700 MB memory
      • Peer: 3 units (LevelDB), 1.1 vCPU, 2.8 GB memory
    NameSuccessFailSend Rate (TPS)Max Latency (s)Min Latency (s)Avg Latency (s)Throughput (TPS)
    Read Transaction12449302074.70.280.000.042073.3
    Write Transaction181170301.933.500.0517.66237.0
    • Case 3-2
      • Orderer: 1 unit, 0.35 vCPU, 700 MB memory
      • Peer: 3 units (1.1 vCPU, 2.8 GB memory), 3 units of CouchDB (1 vCPU, 2 GB memory)
    NameSuccessFailSend Rate (TPS)Max Latency (s)Min Latency (s)Avg Latency (s)Throughput (TPS)
    Read Transaction12411002068.40.280.000.042067.4
    Write Transaction151020251.734.400.1017.89160.1

    You can see the reading performance increases by 17 to 22% compared to case 1-1 and 2-1 respectively as the number of peers is increased.


    Was this article helpful?

    Changing your password will log you out immediately. Use the new password to log back in.
    First name must have atleast 2 characters. Numbers and special characters are not allowed.
    Last name must have atleast 1 characters. Numbers and special characters are not allowed.
    Enter a valid email
    Enter a valid password
    Your profile has been successfully updated.