What a week! From 23rd to 27th April our Berlin team attended the Jax conference in Mainz, Germany. We had such a great time sharing our fresh perspectives, in the form of a rousing keynote and two informative sessions. The concept of this annual event with over 2,000 participants, revolves around innovating with Java, architecture,...
Load test your blockchain network
Use Java programs to load test the network and check results in MongoDB
You’re probably here because you have completed your blockchain application. Congrats! You also may be concerned that your application won’t perform efficiently and aren’t sure how to test it. Welcome to the fifth in a series of developer patterns that teach you how to get started creating a blockchain application using Hyperledger Fabric SDK. Now that you know how to create and scale the network, you’re ready to learn how to load test your blockchain application by submitting a large number of enroll, invoke, and query requests then viewing the results in MongoDB.
Developers are increasingly building blockchain applications. And businesses are innovating the way they operationalize their processes and are incorporating blockchain. Consider how car sales and leases will be managed in the future, or how you may call your next Uber with blockchain. These applications are requiring networks with more participants and assets to manage. I’m sure you’re wondering how we can ensure that the network scales and supports the growing volume without bringing the entire network down.
Performance and scalability for production applications should be top of mind for any developer. This pattern is the continuation of the “Integrate RabbitMQ and Redis Cluster with a blockchain network” pattern. Here, we will run Java™ programs to load test our blockchain network. In other words: We will send a request to the blockchain network and check for the results. MongoDB is used to track statistics for the load testing.
- Create and start the blockchain application.
- Start the ExecutionApp.
- View the load testing results in MongoDB.