Back to search

University of Pennsylvania

AI-DRIVEN ADAPTIVE DISTRIBUTED SYSTEMS IN UNTRUSTED ENVIRONMENTS

Abstract

dc:description.abstract

The rapid rise of blockchains and “Web3” has sparked significant interest in designing and implementing distributed systems for untrusted environments. However, due to their rigid one-size-fits-all design, current systems fail to adapt to dynamic workloads, new hardware setup, and different user intentions. To address this problem, we examine the systems stack in a top-down layered manner, from transaction management, Byzantine fault-tolerant (BFT) consensus to their underlying infrastructure. We propose i) AdaChain, the first learned system that adaptively manages blockchain transactions, ii) BFTBrain, a multi-protocol BFT consensus engine that dynamically adjusts itself using reinforcement learning, and iii) FlexChain, a flexible disaggregated infrastructure tailored for permissioned blockchains. AdaChain addresses the challenge in transaction execution under dynamic workloads. As a system driven by reinforcement learning, AdaChain adaptively selects the optimal transactional architecture for dynamic workloads, maximizing throughput. AdaChain securely switches architectures at runtime when a better option is identified. Experiments show AdaChain quickly converges to optimal setups, significantly outperforming fixed architectures in committed transactions with minimal overhead. BFTBrain is a practical reinforcement learning based BFT consensus that provides significant operational benefits: a plug-and-play system suitable for a broad set of hardware and network configurations, and adjusts effectively in real-time to changing fault scenarios and workloads. BFTBrain’s key innovations include systematic performance modeling to guide protocol selection and decentralized learning resilient to adversarial data pollution. As a result, in addition to providing significant operational benefits, BFTBrain improves throughput over fixed protocols by 18% to 119% under dynamic conditions and outperforms state-of-the-art learning based approaches by 44% to 154%. FlexChain is a novel infrastructure layer for permissioned blockchains that physically disaggregates CPUs, DRAM, and storage devices to process different blockchain workloads efficiently. Disaggregation enables independent scaling of hardware resources, improving utilization and preventing fragmentation. Our evaluation results show that FlexChain can provide independent compute and memory scalability, while incurring at most 12.8% disaggregation overhead. FlexChain achieves almost identical throughput as the state-of-the-art distributed approaches with significantly lower memory and CPU consumption for compute-intensive and memory-intensive workloads respectively.

Degree

thesis:*
Department dc:contributor.department
Computer and Information Science
Year dc:date.issued
2024

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Wu, Chenyuan
Advisor dc:contributor.advisor
  • Loo, Boon Thau, BL

Subjects

dc:subject × 4

Rights

Language dc:language.iso
en

Identifiers

dc:identifier.*
Repository record dc:identifier.uri
https://repository.upenn.edu/handle/20.500.14332/60907

Chain of custody

source
Harvested from
University of Pennsylvania
Base URL
repository.upenn.edu/server/oai/request
Last updated
2026-11-19
Source record
OAI-PMH GetRecord
citation

Wu, Chenyuan. AI-DRIVEN ADAPTIVE DISTRIBUTED SYSTEMS IN UNTRUSTED ENVIRONMENTS. 2024. https://repository.upenn.edu/handle/20.500.14332/60907