论文标题

使用管道执行和稀疏的同伴来缩放Hyperledger织物

Scaling Hyperledger Fabric Using Pipelined Execution and Sparse Peers

论文作者

Thakkar, Parth, Natarajan, Senthilnathan

论文摘要

权限的区块链在企业设置中作为数据管理系统变得流行。与传统的分布式数据库相比,区块链平台提供了增加的安全保证,但性能却大大降低。此外,这些平台为它们提供的低吞吐量运行非常昂贵。以下是提高绩效并降低成本的两种方法:(1)使系统有效利用分配的资源; (2)允许基于负载的分配资源快速而动态的缩放。我们在这项工作中探索了这两个。 我们首先研究了称为执行订单效应的区块链风味(EOV)的性能和可伸缩性差的原因。我们通过研究流行的EOV平台Hyperledger Fabric的缩放特性,使用垂直缩放和水平缩放来做到这一点。我们发现,通过这些技术,交易吞吐量量表非常差。至少在权限设置中,真正的瓶颈是交易处理,而不是共识协议。通过垂直缩放,分配的VCPU被填写不足。相比之下,随着水平缩放,由于组织内部节点之间的多余工作,分配的资源被浪费了。 为了减轻上述问题,我们首先通过(a)通过管道执行验证和提交阶段来提高CPU利用率来提高资源效率; (b)通过引入一种称为稀疏同伴的新型对等节点,避免跨节点的冗余工作,该节点有选择地进行交易。我们进一步提出了一种能够快速扩展资源的技术。我们的实现 - 建立在HyperLeDger Fabric上的SmartFabric显示出更高的吞吐量,更快的缩放时间更快,并以50%至87%的成本提供织物的吞吐量。

Permissioned blockchains are becoming popular as data management systems in the enterprise setting. Compared to traditional distributed databases, blockchain platforms provide increased security guarantees but significantly lower performance. Further, these platforms are quite expensive to run for the low throughput they provide. The following are two ways to improve performance and reduce cost: (1) make the system utilize allocated resources efficiently; (2) allow rapid and dynamic scaling of allocated resources based on load. We explore both of these in this work. We first investigate the reasons for the poor performance and scalability of the dominant permissioned blockchain flavor called Execute-Order-Validate (EOV). We do this by studying the scaling characteristics of Hyperledger Fabric, a popular EOV platform, using vertical scaling and horizontal scaling. We find that the transaction throughput scales very poorly with these techniques. At least in the permissioned setting, the real bottleneck is transaction processing, not the consensus protocol. With vertical scaling, the allocated vCPUs go under-utilized. In contrast, with horizontal scaling, the allocated resources get wasted due to redundant work across nodes within an organization. To mitigate the above concerns, we first improve resource efficiency by (a) improving CPU utilization with a pipelined execution of validation & commit phases; (b) avoiding redundant work across nodes by introducing a new type of peer node called sparse peer that selectively commits transactions. We further propose a technique that enables the rapid scaling of resources. Our implementation - SmartFabric, built on top of Hyperledger Fabric demonstrates 3x higher throughput, 12-26x faster scale-up time, and provides Fabric's throughput at 50% to 87% lower cost.

扫码加入交流群

加入微信交流群

微信交流群二维码

扫码加入学术交流群,获取更多资源