TY - GEN
T1 - Stable Blockchain Sharding under Adversarial Transaction Generation
AU - Adhikari, Ramesh
AU - Busch, Konstantin
AU - Kowalski, Dariusz R.
N1 - Publisher Copyright:
© 2024 Owner/Author.
PY - 2024/6/17
Y1 - 2024/6/17
N2 - 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.
AB - 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.
KW - adversarial model
KW - blockchain sharding
KW - blockchains
KW - stability analysis
KW - transaction generation
KW - transaction scheduling
UR - http://www.scopus.com/inward/record.url?scp=85197469503&partnerID=8YFLogxK
UR - http://www.scopus.com/inward/citedby.url?scp=85197469503&partnerID=8YFLogxK
U2 - 10.1145/3626183.3659970
DO - 10.1145/3626183.3659970
M3 - Conference contribution
AN - SCOPUS:85197469503
T3 - Annual ACM Symposium on Parallelism in Algorithms and Architectures
SP - 451
EP - 461
BT - SPAA 2024 - Proceedings of the 36th ACM Symposium on Parallelism in Algorithms and Architectures
PB - Association for Computing Machinery
T2 - 36th ACM Symposium on Parallelism in Algorithms and Architectures, SPAA 2024
Y2 - 17 June 2024 through 21 June 2024
ER -