Aside from the conception of new blockchain architectures, existing blockchain optimizations in the literature primarily focus on system or data-oriented optimizations within prevailing blockchains. However, since blockchains handle multiple aspects ranging from organizational governance to smart contract design, a holistic approach that encompasses all the different layers of a given blockchain system is required to ensure that all optimization opportunities are taken into consideration. In this vein, we define a multi-level optimization recommendation approach that identifies optimization opportunities within a blockchain at the system, data, and user level. Multiple metrics and attributes are derived from a blockchain log and nine optimization recommendations are formalized. We implement an automated optimization recommendation tool, BlockOptR, based on these concepts. The system is extensively evaluated with a wide range of workloads covering multiple real-world scenarios. After implementing the recommended optimizations, we observe an average of 20% improvement in the success rate of transactions and an average of 40% improvement in latency.
翻译:除了新链条结构的概念外,文献中现有的链条优化主要侧重于当前链条中的系统或以数据为导向的优化,然而,由于链条处理从组织治理到智能合同设计等多个方面,需要一种涵盖特定链条系统所有不同层面的全面方法,以确保所有优化机会都得到考虑。本着这一精神,我们定义了一种多层次优化建议方法,在系统、数据和用户一级确定一个链条中的优化机会。从一个链条记录中衍生出多种指标和属性,并正式确定了九项优化建议。我们根据这些概念采用了自动优化建议工具BlockOptR。对该系统进行了广泛的评价,其工作量范围很广,涵盖了多种现实世界情景。在实施所建议的优化之后,我们观察到交易成功率平均提高20%,长期平均改善40%。