This paper presents AdaChain, a learning-based blockchain framework that adaptively chooses the best permissioned blockchain architecture in order to optimize effective throughput for dynamic transaction workloads. AdaChain addresses the challenge in the Blockchain-as-a-Service (BaaS) environments, where a large variety of possible smart contracts are deployed with different workload characteristics. AdaChain supports automatically adapting to an underlying, dynamically changing workload through the use of reinforcement learning. When a promising architecture is identified, AdaChain switches from the current architecture to the promising one at runtime in a way that respects correctness and security concerns. Experimentally, we show that AdaChain can converge quickly to optimal architectures under changing workloads, significantly outperform fixed architectures in terms of the number of successfully committed transactions, all while incurring low additional overhead.
翻译:本文介绍Ada Chain(Ada Chain),这是一个基于学习的供应链框架,它适应性地选择了最佳允许的供应链结构,以优化动态交易工作量的有效吞吐量。 Ada Chain(Baa-servic(Baas-S))应对了“链链式服务(Baaa-S)”环境中的挑战,在这种环境中部署了大量可能具有不同工作量特点的智能合同。Ada Chain(Ada Chain)通过使用强化学习自动支持适应潜在、动态变化的工作量。当确定一个有希望的结构时,Ada Chain(Ada Chain)将当前结构转换为运行时有希望的结构,以尊重正确性和安全性。我们实验性地表明,Ada Chain(Ba-Chain)可以在不断变化的工作量下迅速向最佳结构汇合,在成功完成的交易数量上大大超过固定结构,同时导致低额间接费用。