Stable Blockchain Sharding under Adversarial Transaction Generation

Research output: Chapter in Book/Report/Conference proceedingConference contribution

Abstract

Sharding is used to improve the scalability and performance of blockchain systems. We investigate the stability of blockchain sharding, where transactions are continuously generated by an adversarial model. The system consists of n processing nodes that are divided into s shards. Following the paradigm of classical adversarial queuing theory, transactions are continuously received at injection rate ρ ≤ 1 and burstiness b > 0. We give an absolute upper bound max{2/k+1, 2g } on the maximum injection rate for which any scheduler could guarantee bounded queues and latency of transactions, where k is the number of shards that each transaction accesses. We next give a basic distributed scheduling algorithm for uniform systems where shards are equally close to each other. To guarantee stability, the injection rate is limited to ρ ≤ max{1/18k, 1/ 18√s‰}. We then provide a fully distributed scheduling algorithm for non-uniform systems where shards are arbitrarily far from each other. By using a hierarchical clustering of the shards, stability is guaranteed with injection rate ρ ≤ 1/(c1d log2 s) g... max{1/k, 1/√s}, where d is the worst distance of any transaction to the shards it will access, and c1 is some positive constant. We also conduct simulations to evaluate the algorithms and measure the average queue sizes and latency throughout the system. To our knowledge, this is the first adversarial stability analysis of sharded blockchain systems.

Original languageEnglish (US)
Title of host publicationSPAA 2024 - Proceedings of the 36th ACM Symposium on Parallelism in Algorithms and Architectures
PublisherAssociation for Computing Machinery
Pages451-461
Number of pages11
ISBN (Electronic)9798400704161
DOIs
StatePublished - Jun 17 2024
Event36th ACM Symposium on Parallelism in Algorithms and Architectures, SPAA 2024 - Nantes, France
Duration: Jun 17 2024Jun 21 2024

Publication series

NameAnnual ACM Symposium on Parallelism in Algorithms and Architectures
ISSN (Print)1548-6109

Conference

Conference36th ACM Symposium on Parallelism in Algorithms and Architectures, SPAA 2024
Country/TerritoryFrance
CityNantes
Period6/17/246/21/24

Keywords

  • adversarial model
  • blockchain sharding
  • blockchains
  • stability analysis
  • transaction generation
  • transaction scheduling

ASJC Scopus subject areas

  • Software
  • Theoretical Computer Science
  • Hardware and Architecture

Fingerprint

Dive into the research topics of 'Stable Blockchain Sharding under Adversarial Transaction Generation'. Together they form a unique fingerprint.

Cite this