arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1910.01310cs.DBcs.PF
收藏

区块链与分布式数据库:二分法与融合

Blockchains vs. Distributed Databases: Dichotomy and Fusion

Pingcheng Ruan, Tien Tuan Anh Dinh, Dumitrel Loghin, Meihui Zhang, Gang Chen, Qian Lin, Beng Chin Ooi

摘要:

区块链已经走过了漫长的道路:最初专门为加密货币提出的系统现在正在被改编和采用为通用交易系统。随着区块链演变成另一种数据管理系统,自然的问题是它与分布式数据库系统相比如何。现有的比较工作集中在高级别的属性,如安全性和吞吐量。他们没有展示底层的设计选择如何导致整体差异。我们的工作填补了这一重要空白,并为分析区块链-数据库融合的新兴趋势提供了一个原则性框架。我们将区块链和分布式数据库系统作为两种类型的交易系统进行了孪生研究。我们提出了一个分类法,说明了四个方面的二分法,即复制,并发,存储和分片。在每个维度中,我们讨论了设计选择如何受到两个目标的驱动:区块链的安全性和分布式数据库的性能。为了揭示不同设计选择对整体性能的影响,我们对两个区块链(即Quorum和Hyperledger Fabric)以及两个分布式数据库(即TiDB和etcd)进行了深入的性能分析。最后,我们提出了一个框架,用于区块链-数据库混合体的信封后性能预测。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑