-
Notifications
You must be signed in to change notification settings - Fork 6
Home
Welcome to the load testing-the-Blockchain-Network wiki!
Load test Blockchain Network
Perform load testing on blockchain network using Java application.
Emerging Tech - Blockchain
Congrats! You have made it to the fifth in a series of patterns that teach you how to get up and get going creating a Blockchain application using Fabric-Node-SDK. Now that you know how to create and scale the network, you are ready to learn how to load test your blockchain application by submitting large number of enroll, invoke and query requests and view the statistics of test by viewing the results in mongodb. Let's get started with testing our blockchain application.
By Ishan Gulhane
https://github.com/IBM/loadtesting-the-Blockchain-Network
N/A
This pattern is continuation of the Controlling flow of request to blockchain network using Redis and RabbitMQ cluster. In this pattern, we are going run java programs to load test our blockchain network i.e. to send request to blockchain network and to check for results of request execution. MongoDb is used to keep track of statistics for the load testing.

- Creating and Starting the Blockchain Application
- Start the ExecutionApp and ExecutionApp
- View the load testing results in MongoDb
- Create your first Blockchain network using Hyperledger Composer
- Integrate your Blockchain with anything using Hyperledger Composer and NodeRed
- Hyperledger Fabric
- Accelerating time to value
- Create a To-do list using Hyperledger Fabric V1.0
- Deploy an Asset Transfer App on Hyperledger Fabric V1.0
- Decentralized energy with Hyperledger Composer
More and more developers are building blockchain applications. Business are innovating the way they operationalize their processes and are including Blockchain as part of those operations. Think how car sales and leases are managed in the future, or how you may call your next Uber with Blockchain. These applications are requiring networks that require more participants and assets to manage. As most disciplined developers minds do – I am sure you are wondering how do we ensure that the network scales and supports the growing number without bringing the entire network down or to its heals. Performance and scalability for production applications should be top of mind for any developer.
There are a few areas developers need to consider and tweak as part of improving network performance:
-
Network latency – how fast is data traveling in your network
-
Size of the network – consider how many participants will engage
-
Size of the transactions – how much data is held within each transaction
Developers have a choice in conducting performance test. In this pattern, we show developers how to create a java program to run tests. Alternatively, you can use a fairly new tool called PTE (Performance Traffic Engine). It uses ses SDKs to interact with Hyperledger Fabric networks by sending requests to and receiving responses from one or more networks. Currently, PTE only uses Hyperledger Fabric Client (HFC) Node SDK and will include other SDKs in the future.
I can’t stress enough how important it is to stress the load of your network before launching it live to participants. Take a ride with this pattern and take load off your mind when you launch your next Blockchain Networked application.