Private blockchain as a replicated transactional system shares many commonalities with distributed database. However, the intimacy between private blockchain and deterministic database has never been studied. In essence, private blockchain and deterministic database both ensure replica consistency by determinism. In this paper, we present a comprehensive analysis to uncover the connections between private blockchain and deterministic database. While private blockchains have started to pursue deterministic transaction executions recently, deterministic databases have already studied deterministic concurrency control protocols for almost a decade. This motivates us to propose Harmony, a novel deterministic concurrency control protocol designed for blockchain use. We use Harmony to build a new relational blockchain, namely HarmonyBC, which features low abort rates, hotspot resiliency, and inter-block parallelism, all of which are especially important to disk-oriented blockchain. Empirical results on Smallbank, YCSB, and TPC-C show that HarmonyBC offers 2.0x to 3.5x throughput better than the state-of-the-art private blockchains.
翻译:私人链条作为复制的私人链条系统与分布式数据库有着许多共同点。然而,私人链条和确定性数据库之间的亲密关系从未进行过研究。本质上,私人链条和确定性数据库都通过确定性确保复制一致性。在本文件中,我们提出全面分析,以发现私人链条和确定性数据库之间的联系。虽然私人链条最近开始推行定点性交易处决,但确定性数据库已经研究了几乎十年的确定性共通货币控制协议。这促使我们提出“和谐”方案,这是为链条使用而设计的新颖的确定性货币控制协议。我们利用“和谐”方案建设一个新的关联性链条,即“和谐BC”,其特点是低堕胎率、热点弹性和跨区平行,所有这些都对面向磁盘的链条特别重要。小型银行、YCSB和TPC-C的体验性结果显示,“和谐BC”提供2.0x至3.5x通量比国营私人链条更好。