[Paper Review] Blockchains vs. Distributed Databases: Dichotomy and Fusion
This paper proposes a four-dimensional taxonomy—replication, concurrency, storage, and sharding—to systematically compare blockchains and distributed databases, revealing how their design choices stem from opposing goals: security in blockchains and performance in databases. It demonstrates that replication model and failure model (CFT vs. BFT) are the primary drivers of throughput differences, and introduces a back-of-the-envelope framework to forecast hybrid system performance based on these factors.
Blockchain has come a long way: a system that was initially proposed specifically for cryptocurrencies is now being adapted and adopted as a general-purpose transactional system. As blockchain evolves into another data management system, the natural question is how it compares against distributed database systems. Existing works on this comparison focus on high-level properties, such as security and throughput. They stop short of showing how the underlying design choices contribute to the overall differences. Our work fills this important gap and provides a principled framework for analyzing the emerging trend of blockchain-database fusion. We perform a twin study of blockchains and distributed database systems as two types of transactional systems. We propose a taxonomy that illustrates the dichotomy across four dimensions, namely replication, concurrency, storage, and sharding. Within each dimension, we discuss how the design choices are driven by two goals: security for blockchains, and performance for distributed databases. To expose the impact of different design choices on the overall performance, we conduct an in-depth performance analysis of two blockchains, namely Quorum and Hyperledger Fabric, and two distributed databases, namely TiDB, and etcd. Lastly, we propose a framework for back-of-the-envelope performance forecast of blockchain-database hybrids.
Motivation & Objective
- To address the lack of principled, low-level comparison between blockchains and distributed databases beyond high-level metrics like throughput and security.
- To identify the root causes of performance gaps between blockchain and database systems by analyzing fundamental design dimensions.
- To enable the design of hybrid blockchain-database systems by proposing a quantitative framework for performance forecasting.
- To expose the growing trend of design fusion between blockchains and databases through a structured taxonomy of their architectural choices.
Proposed method
- Proposes a four-dimensional taxonomy—replication, concurrency, storage, and sharding—to classify and compare transactional systems.
- Analyzes how design choices in each dimension are driven by the core goals: security in blockchains and performance in distributed databases.
- Conducts in-depth performance measurements on Quorum and Hyperledger Fabric (blockchains) and TiDB and etcd (distributed databases) across the four dimensions.
- Identifies replication model (transaction-based vs. storage-based) and failure model (CFT vs. BFT) as key performance determinants.
- Develops a back-of-the-envelope performance forecasting framework for hybrid systems, focusing on throughput and informed by empirical results.
- Validates the framework using reported performance data from six hybrid systems, showing predictive power based on replication and failure model choices.
Experimental results
Research questions
- RQ1How do fundamental design choices in replication, concurrency, storage, and sharding differentiate blockchains from distributed databases?
- RQ2What are the root causes of the performance gap between blockchains and distributed databases beyond observable metrics?
- RQ3How do replication models (transaction-based vs. storage-based) and failure models (CFT vs. BFT) impact system throughput?
- RQ4To what extent can a high-level framework predict the performance of hybrid blockchain-database systems?
- RQ5How do design fusions—such as database concurrency control in blockchains or blockchain security in databases—affect system behavior?
Key findings
- The replication model is the primary determinant of peak throughput, with storage-based replication enabling higher performance than transaction-based replication.
- CFT (crash fault tolerance) protocols outperform BFT (byzantine fault tolerance) protocols in throughput due to lower network overhead, especially when implemented as shared log services.
- Vertias achieves 29k transactions per second compared to Chainify’s 6.1k, primarily due to its use of storage-based replication and CFT protocols.
- Performance variance in hybrid systems like Vertias increases significantly under high contention, indicating scalability limitations despite high peak throughput.
- The proposed framework effectively predicts relative throughput differences among hybrid systems using only replication model and failure model as inputs.
- Empirical results show that the performance gap between blockchains and databases is not fixed and can shrink under high-contention workloads, challenging assumptions from prior benchmarking studies.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.