ResearchTrend.AI
  • Papers
  • Communities
  • Events
  • Blog
  • Pricing
Papers
Communities
Social Events
Terms and Conditions
Pricing
Parameter LabParameter LabTwitterGitHubLinkedInBlueskyYoutube

© 2025 ResearchTrend.AI, All rights reserved.

  1. Home
  2. Papers
  3. 2404.04438
13
6

Stable Blockchain Sharding under Adversarial Transaction Generation

5 April 2024
Ramesh Adhikari
C. Busch
Dariusz R. Kowalski
ArXivPDFHTML
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 nnn processing nodes that are divided into sss shards. Following the paradigm of classical adversarial queuing theory, transactions are continuously received at injection rate ρ≤1\rho \leq 1ρ≤1 and burstiness b>0b > 0b>0. We give an absolute upper bound max⁡{2k+1,2⌊2s⌋}\max\{ \frac{2}{k+1}, \frac{2}{ \left\lfloor\sqrt{2s}\right\rfloor}\}max{k+12​,⌊2s​⌋2​} on the maximum injection rate for which any scheduler could guarantee bounded queues and latency of transactions, where kkk 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⁡{118k,1⌈18s⌉}\rho \leq \max\{ \frac{1}{18k}, \frac{1}{\lceil 18 \sqrt{s} \rceil} \}ρ≤max{18k1​,⌈18s​⌉1​}. 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 ρ≤1c1dlog⁡2s⋅max⁡{1k,1s}\rho \leq \frac{1}{c_1d \log^2 s} \cdot \max\{ \frac{1}{k}, \frac{1}{\sqrt{s}} \}ρ≤c1​dlog2s1​⋅max{k1​,s​1​}, where ddd is the worst distance of any transaction to the shards it will access, and c1c_1c1​ 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.

View on arXiv
Comments on this paper