English

Stable Blockchain Sharding under Adversarial Transaction Generation

Distributed, Parallel, and Cluster Computing 2024-04-23 v2

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 nn processing nodes that are divided into ss shards. Following the paradigm of classical adversarial queuing theory, transactions are continuously received at injection rate ρ1\rho \leq 1 and burstiness b>0b > 0. We give an absolute upper bound max{2k+1,22s}\max\{ \frac{2}{k+1}, \frac{2}{ \left\lfloor\sqrt{2s}\right\rfloor}\} on the maximum injection rate for which any scheduler could guarantee bounded queues and latency of transactions, where kk 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,118s}\rho \leq \max\{ \frac{1}{18k}, \frac{1}{\lceil 18 \sqrt{s} \rceil} \}. 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 ρ1c1dlog2smax{1k,1s}\rho \leq \frac{1}{c_1d \log^2 s} \cdot \max\{ \frac{1}{k}, \frac{1}{\sqrt{s}} \}, where dd is the worst distance of any transaction to the shards it will access, and c1c_1 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.

Keywords

Cite

@article{arxiv.2404.04438,
  title  = {Stable Blockchain Sharding under Adversarial Transaction Generation},
  author = {Ramesh Adhikari and Costas Busch and Dariusz R. Kowalski},
  journal= {arXiv preprint arXiv:2404.04438},
  year   = {2024}
}

Comments

11 pages, 3 figures

R2 v1 2026-06-28T15:45:39.762Z