Blockchain

Optimizing the performance of your blockchain

Share this post:

Time flies!  The Think 2019 conference is almost here! With my colleague Jorge, I will be in San Francisco presenting our experience of running performance testing on the IBM Blockchain Platform. Through customer engagements and internal projects, we have gained some insight that we are looking forward to sharing.

People can be intimidated by the idea of performance testing of blockchain networks.  Where to start?  What to measure?  And what exactly is “performance” in a blockchain network? Recently, the Hyperledger Performance and Scale Working Group have published their white paper defining the basis of what performance means in a blockchain network.  This is great news and a step in the right direction as it will help create a shared understanding of the performance metrics associated with blockchain.

IBM Blockchain Platform is based on Hyperledger Fabric.  Thus, it is important to understand its underlying architecture before diving into the performance characteristics.

Hyperledger Fabric uses an “execute-order-validate” architecture to add transactions to the blockchain ledger.  This means that transactions are first sent for endorsement by the organizations involved.  The endorsement consists of the simulation of the transaction on a subset of the network peers. Those simulations are produced by the Smart Contract (called chaincode in Hyperledger Fabric) and result in what is called a Read/Write set (The Key/Value pairs that we read and that will be written to the database as a result). The Read/Write set is signed by the peer node and returned to the client application.

The client application will then send these transactions to the ordering nodes where they will be bundled into blocks of transactions and distributed to members of the network.

Finally, each peer will append the blocks to the ledger and apply the transaction Read/Write set to the World state.

Through our various engagements, we have identified “levers” we can use to improve the efficiency of the network.  These levers focus on the various layers of the solution:

  • Client application
  • Endorsing peers
  • Ordering and Validation phase

In our session at Think 2019, we will be diving into:

  • The performance levers
  • The tools of the trade – Hyperledger Caliper and other tools
  • Capturing key performance metrics

Hope to see you there!

Certified Solution IT Architect IBM Blockchain Labs

More Blockchain stories
By Chris Nott and James East on 2 December, 2022

Navigating complexity: powering better-informed decision making with Improbable Defence’s Skyral and IBM’s DSaS

Our lives are defined by unprecedented volumes of data. Massive data – what we used to call ‘big data’ – has propelled us into The Information Age and continues to drive unprecedented technological innovation. It’s transforming how we live, connect and operate. Here’s one example. The Information Age has accelerated an unfortunate but perhaps inevitable […]

Continue reading

By Prashant Jajodia on 24 November, 2022

Digital Transformation in Banking – Chapter Three

I am a bit of a banking nerd. I use several banks and often find myself comparing their digital banking services. They are all very good. You can securely check your balance and make a payment on your mobile app with all of them. You can also do many everyday banking tasks like move money, […]

Continue reading

By Richard Davies on 17 November, 2022

Defence 4.0 and Enabling Capabilities in an Ecosystem

Previous IBM defence blogs we have talked about the paradigm shift to Defence 4.0 which impacts a range of business and technical dimensions. A particular challenge in this transformation, for both industry and defence, is to clearly articulate and operationalise a ‘digital ecosystem’ which is underpinned by collaboration. The benefit of an ecosystem is that […]

Continue reading