Skip to main content
QUICK REVIEW

[Paper Review] BLOCKBENCH: A Framework for Analyzing Private Blockchains

Tien Tuan Anh Dinh, Ji Wang|arXiv (Cornell University)|Mar 12, 2017
Blockchain Technology Applications and SecurityComputer Science210 citations
TL;DR

Blockbench provides the first benchmark framework to compare permissioned blockchain platforms (Ethereum, Parity, Hyperledger) across consensus, data, and execution layers, using real and synthetic workloads to measure throughput, latency, scalability, and fault tolerance.

ABSTRACT

Blockchain technologies are taking the world by storm. Public blockchains, such as Bitcoin and Ethereum, enable secure peer-to-peer applications like crypto-currency or smart contracts. Their security and performance are well studied. This paper concerns recent private blockchain systems designed with stronger security (trust) assumption and performance requirement. These systems target and aim to disrupt applications which have so far been implemented on top of database systems, for example banking, finance applications. Multiple platforms for private blockchains are being actively developed and fine tuned. However, there is a clear lack of a systematic framework with which different systems can be analyzed and compared against each other. Such a framework can be used to assess blockchains' viability as another distributed data processing platform, while helping developers to identify bottlenecks and accordingly improve their platforms. In this paper, we first describe BlockBench, the first evaluation framework for analyzing private blockchains. It serves as a fair means of comparison for different platforms and enables deeper understanding of different system design choices. Any private blockchain can be integrated to BlockBench via simple APIs and benchmarked against workloads that are based on real and synthetic smart contracts. BlockBench measures overall and component-wise performance in terms of throughput, latency, scalability and fault-tolerance. Next, we use BlockBench to conduct comprehensive evaluation of three major private blockchains: Ethereum, Parity and Hyperledger Fabric. The results demonstrate that these systems are still far from displacing current database systems in traditional data processing workloads. Furthermore, there are gaps in performance among the three systems which are attributed to the design choices at different layers of the software stack.

Motivation & Objective

  • Introduce Blockbench as a fair, extensible framework for evaluating private blockchains.
  • Enable integration of any private blockchain via simple APIs for benchmarking against realistic workloads.
  • Assess performance across consensus, data model, and execution layers to identify bottlenecks and design trade-offs.
  • Provide insights into the viability of private blockchains for traditional data-processing workloads.

Proposed method

  • Define a four-layer blockchain abstraction (consensus, data model, execution, application) and corresponding workloads.
  • Implement Blockbench backends for Ethereum, Parity, and Hyperledger to enable benchmarking with a common API.
  • Develop macro-benchmark workloads (YCSB-like key-value store, Smallbank OLTP, EtherId, Doubler, WavesPresale) and micro-benchmarks (DoNothing, IOHeavy, CPUHeavy, Analytics).
  • Measure throughput, latency, scalability, fault tolerance, and security under simulated network faults and partition attacks.
  • Provide a driver that handles asynchronous transaction submission and polling to collect block-confirmation data across backends.

Experimental results

Research questions

  • RQ1How do Ethereum, Parity, and Hyperledger compare on throughput, latency, and scalability for private blockchain workloads?
  • RQ2What bottlenecks emerge at the consensus, data, and execution layers across different platforms?
  • RQ3How do fault-tolerance and security (forks, partition attacks) affect performance in private blockchains?
  • RQ4Can private blockchains efficiently support database-like workloads and analytics relative to traditional databases?

Key findings

  • Hyperledger consistently outperforms the other two systems across seven benchmarks.
  • Blockchain performance remains far below state-of-the-art databases for traditional data-processing workloads.
  • Consensus protocols largely account for the application-layer performance gaps in Ethereum and Hyperledger.
  • Parity exhibits processing bottlenecks in execution, while Ethereum and Parity show bottlenecks in the execution and data layers.
  • There are scalability limits, with Hyperledger failing to scale beyond 16 nodes in the evaluated scenarios.
  • Blockbench provides a baseline and identifies bottlenecks to guide further optimization of private blockchain platforms.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.