arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2105.10520cs.DB
收藏

探索以太坊的数据存储:成本和性能比较

Exploring Ethereum's Data Stores: A Cost and Performance Comparison

P. Kostamis, A. Sendros, P. S. Efraimidis

摘要:

在设计去中心化应用程序时,必须考虑使用区块链基础设施的成本以及从中搜索和检索信息所需的时间。在这项工作中,我们研究了以太坊应用程序的一套全面的数据管理方法,并评估了相关的气体成本以及检索性能。更准确地说,我们利用智能合约存储来分析各种大小数据的存储和检索。此外,我们还研究了混合方法,使用IPFS和Swarm作为存储平台,使用以太坊作为时间戳证明机制。当必须管理大块数据时,这种方案特别有效。此外,我们还介绍了在以太坊中进行低成本数据处理的方法,即事件日志、事务有效负载以及对未使用的函数参数的几乎令人惊讶的利用。最后,我们对这些方法进行了全面的实验评估。

英文摘要:

The cost of using a blockchain infrastructure as well as the time required to search and retrieve information from it must be considered when designing a decentralized application. In this work, we examine a comprehensive set of data management approaches for Ethereum applications and assess the associated cost in gas as well as the retrieval performance. More precisely, we analyze the storage and retrieval of various-sized data, utilizing smart contract storage. In addition, we study hybrid approaches by using IPFS and Swarm as storage platforms along with Ethereum as a timestamping proof mechanism. Such schemes are especially effective when large chunks of data have to be managed. Moreover, we present methods for low-cost data handling in Ethereum, namely the event-logs, the transaction payload, and the almost surprising exploitation of unused function arguments. Finally, we evaluate these methods on a comprehensive set of experiments.

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

↑