论文标题
通过工作负载自动交易执行启用具有成本效益的区块链应用
Enabling Cost-Effective Blockchain Applications via Workload-Adaptive Transaction Execution
论文作者
论文摘要
随着当今交易费用飙升,区块链变得越来越昂贵,损害了他们在更广泛的应用中的采用。 这项工作可以解决经济区块链应用的交易费用。关键洞察力是,除了现有的“默认”模式以外执行应用程序逻辑完全链上,即智能合约,并以精细的粒度(即每个事务的用户请求),还有替代性执行模式,具有成本效益的优势。 在以太坊上,我们提出了一个整体中间件平台,支持灵活且安全的交易执行,包括链态和用户请求的批处理。此外,我们提出了控制平面方案,以使执行模式适应当前工作负载,以获得最佳的运行时成本。 我们提出了一项关于机构帐户(例如Coinbase.com)的案例研究,该案例强烈地发送了以太坊区块链的以太。通过收集现实生活交易,我们构建了工作负载基准,并表明我们的工作节省了比默认基线的18%〜47%,同时引入了1.81〜16.59块延迟。
As transaction fees skyrocket today, blockchains become increasingly expensive, hurting their adoption in broader applications. This work tackles the saving of transaction fees for economic blockchain applications. The key insight is that other than the existing "default" mode to execute application logic fully on-chain, i.e., in smart contracts, and in fine granularity, i.e., user request per transaction, there are alternative execution modes with advantages in cost-effectiveness. On Ethereum, we propose a holistic middleware platform supporting flexible and secure transaction executions, including off-chain states and batching of user requests. Furthermore, we propose control-plane schemes to adapt the execution mode to the current workload for optimal runtime cost. We present a case study on the institutional accounts (e.g., coinbase.com) intensively sending Ether on Ethereum blockchains. By collecting real-life transactions, we construct workload benchmarks and show that our work saves 18% ~ 47% per invocation than the default baseline while introducing 1.81 ~ 16.59 blocks delay.