Recently, I stress-tested a Quorum network consisting of 2 nodes on separate machines, and the result was 140 tps… So, let’s see how to create a 2 node Quorum network in just a few minutes so that you can also stress-test your own Quorum network. But if you are new to Quorum, I suggest you , to get a better understanding of this article. go through the below article _This post marks the first in a new Quorum series I am starting in an effort to provide some easy to read instructions…_medium.com Quorum 101: Getting started with Quorum If you are all set, then let’s get started. Environment Used I am using 2 separate AWS machines ( ) for 2 separate Quorum nodes. Let us call them and . Ubuntu Server 16.04 LTS, t2-micro quorum-peer-1 quorum-peer-2 2 nodes on AWS Now, if you are running 2 nodes as above then let’s assume IP address of is and IP address of is . quorum-peer-1 IP-1 quorum-peer-2 IP-2 Also, open the following ports in the security group(it’s better to use same security group for both the nodes). ( ): Ports to open all TCP ports ,accessible from anywhere 9001 9004 21000 21003 22000 22003 50401 50404 Installing prerequisites Now, we have to install prerequisites on both the nodes(better option is to use a snapshot and use that for installing prerequisites on both the machines). To install the prerequisites just copy and run the below script on both the machines. Installing the Quorum application Now ssh into the and clone the below repository. quorum-peer-1 git clone ;cd quorum-testnode-1 https://github.com/vasa-develop/quorum-testnode-1 Similarly, ssh into and clone the below repository. quorum-peer-2 git clone ;cd quorum-testnode-2 https://github.com/vasa-develop/quorum-testnode-2 And Voila, you are set to test the network. P.S. special thanks to benchmarking scripts “chainhammer” by Dr Andreas Krueger, , London https://gitlab.com/electronDLT/chainhammer Electron.org.uk Initializing network Now execute the below command on both of the machines simultaneously as a (using ). super user sudo su ./start-peer.sh <IP-1> <IP-2>; tail -f qdata/logs/constellation*.log for example if is 12.45.78.55 and is 12.45.78.56, then the above command will be like IP-1 IP-2 ./start-peer.sh 12.45.78.55 12.45.78.56;tail -f qdata/logs/constellation*.log Make sure that the IP’s are in correct order, or the script will not work as expected You will see output similar to below ones. quorum-peer-1 output quorum-peer-2 output If you encounter some error then execute and again repeat the “Initializing network” step. ./stop.sh Press CTRL+C to exit the logs. Testing the Network Now, it’s time to test our network. In the execute the below command quorum-peer-1 ./runscript.sh script1.js Now, go to and execute the below command quorum-peer-2 python3 tps.py You will see output like the below one quorum-peer-2 output Now, here is the last command to measure the Execute the below command to start bombarding private transactions from to . Execute the following command in and you will see output similar to screens shown below. TPS. quorum-peer-1 quorum-peer-2 quorum-peer-1 python3 send.py quorum-peer-1 transaction bombarding quorum-peer-2 tps results Now as you can see, in the above screen that for first 1000 trxs the average tps rate is around 140 tps. Well, that’s better than many blockchains, but not really mind blowing. when you go for 1000 tps but end up with 140 tps… Well, that was it…your first Quorum network stress-test. using different machine sizes. Let’s see how high it can go. If you made it to the end then comment you TPS below Learned something? Click the 👏 to say “thanks!” and help others find this article. Hold down the clap button if you liked the content! It helps me gain exposure . Want to learn more? Check out my previous articles _IPFS Private Storage Network Series_medium.com Setting up your first distributed private storage network on IPFS: Part 1 _The whole world is going through the blockchain revolution. But wait…is this really what we dreamed of? Present…_medium.com 13 sidechain projects every blockchain developer should know about _This is a short guide, through which you can have your site running for free in few minutes!! So, let’s get started_medium.com Hosting a site for free on IPFS Clap 50 times and follow me on Twitter: @ vasa_develop