Papers
Topics
Authors
Recent
Gemini 2.5 Flash
Gemini 2.5 Flash
103 tokens/sec
GPT-4o
11 tokens/sec
Gemini 2.5 Pro Pro
50 tokens/sec
o3 Pro
5 tokens/sec
GPT-4.1 Pro
3 tokens/sec
DeepSeek R1 via Azure Pro
33 tokens/sec
2000 character limit reached

Stable Blockchain Sharding under Adversarial Transaction Generation (2404.04438v2)

Published 5 Apr 2024 in cs.DC

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 $\rho \leq 1$ and burstiness $b > 0$. We give an absolute upper bound $\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 $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 $\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 $\rho \leq \frac{1}{c_1d \log2 s} \cdot \max{ \frac{1}{k}, \frac{1}{\sqrt{s}} }$, where $d$ is the worst distance of any transaction to the shards it will access, and $c_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.

Definition Search Book Streamline Icon: https://streamlinehq.com
References (31)
  1. Ramesh Adhikari and Costas Busch. 2023. Lockless Blockchain Sharding with Multiversion Control. In Structural Information and Communication Complexity: 30th International Colloquium, SIROCCO 2023, Alcalá de Henares, Spain, June 6–9, 2023, Proceedings (Alcala de Henares, Spain). Springer-Verlag, Berlin, Heidelberg, 112–131. https://doi.org/10.1007/978-3-031-32733-9_6
  2. Deep Learning meets Blockchain for Automated and Secure Access Control. arXiv preprint arXiv:2311.06236 (2023).
  3. ForensiBlock: A Provenance-Driven Blockchain Framework for Data Forensics and Auditability. arXiv preprint arXiv:2308.03927 (2023).
  4. Sharper: Sharding permissioned blockchains over network clusters. In Proceedings of the 2021 international conference on management of data. 76–88.
  5. Directory protocols for distributed transactional memory. Transactional Memory. Foundations, Algorithms, Tools, and Applications: COST Action Euro-TM IC1001 (2015), 367–391.
  6. The power of a blockchain-based supply chain. Computers & industrial engineering 135 (2019), 582–592.
  7. Adversarial contention resolution for simple channels. In Proceedings of the seventeenth annual ACM symposium on Parallelism in algorithms and architectures. 325–332.
  8. Adversarial queuing theory. Journal of the ACM (JACM) 48, 1 (2001), 13–38.
  9. Stable Scheduling in Transactional Memory. In Algorithms and Complexity: 13th International Conference, CIAC 2023, Larnaca, Cyprus, June 13–16, 2023, Proceedings. Springer, 172–186.
  10. Dynamic scheduling in distributed transactional memory. Distributed Computing 35, 1 (2022), 19–36.
  11. Vitalik Buterin et al. 2014. A next-generation smart contract and decentralized application platform. white paper 3, 37 (2014), 2–1.
  12. Practical byzantine fault tolerance. In OsDI, Vol. 99. 173–186.
  13. Maximum throughput of multiple access channels in adversarial environments. Distributed Computing 22 (2009), 93–116.
  14. Adversarial queuing on the multiple access channel. ACM Transactions on Algorithms (TALG) 8, 1 (2012), 1–31.
  15. Towards scaling blockchain systems via sharding. In Proceedings of the 2019 international conference on management of data. 123–140.
  16. Mohsen Ghaffari and Fabian Kuhn. 2022. Deterministic distributed vertex coloring: Simpler, faster, and without network decomposition. In 2021 IEEE 62nd Annual Symposium on Foundations of Computer Science (FOCS). IEEE, 1009–1020.
  17. Jim Gray and Andreas Reuter. 1992. Transaction Processing: Concepts and Techniques (1st ed.). Morgan Kaufmann Publishers Inc., San Francisco, CA, USA.
  18. Oblivious network design. In Proceedings of the seventeenth annual ACM-SIAM symposium on Discrete algorithm. 970–979.
  19. Jelle Hellings and Mohammad Sadoghi. 2021. Byshard: Sharding in a byzantine environment. Proceedings of the VLDB Endowment 14, 11 (2021), 2230–2243.
  20. Jelle Hellings and Mohammad Sadoghi. 2022. The fault-tolerant cluster-sending problem. In Foundations of Information and Knowledge Systems: 12th International Symposium, FoIKS 2022, Helsinki, Finland, June 20–23, 2022, Proceedings. Springer, 168–186.
  21. M. M. Jalalzai and C. Busch. 2018. Window Based BFT Blockchain Consensus. In iThings, IEEE GreenCom, IEEE (CPSCom) and IEEE SSmartData 2018. 971–979.
  22. Proteus: A scalable BFT consensus protocol for blockchains. In 2019 IEEE international conference on Blockchain (Blockchain). IEEE, 308–313.
  23. The Hermes BFT for Blockchains. IEEE Transactions on Dependable and Secure Computing 19, 6 (2021), 3971–3986.
  24. Omniledger: A secure, scale-out, decentralized ledger via sharding. In 2018 IEEE Symposium on Security and Privacy (SP). IEEE, 583–598.
  25. A secure sharding protocol for open blockchains. In Proceedings of the 2016 ACM SIGSAC conference on computer and communications security. 17–30.
  26. Blockchain in healthcare applications: Research challenges and opportunities. Journal of network and computer applications 135 (2019), 62–75.
  27. Satoshi Nakamoto. 2009. Bitcoin : A Peer-to-Peer Electronic Cash System.
  28. Survey of consensus protocols on blockchain applications. In 2017 4th international conference on advanced computing and communication systems (ICACCS). IEEE, 1–5.
  29. Gokarna Sharma and Costas Busch. 2014. Distributed transactional memory for general networks. Distributed computing 27, 5 (2014), 329–362.
  30. Gokarna Sharma and Costas Busch. 2015. A load balanced directory for distributed shared memory objects. J. Parallel and Distrib. Comput. 78 (2015), 6–24.
  31. RapidChain: Scaling Blockchain via Full Sharding. In Proceedings of the 2018 ACM SIGSAC Conference on Computer and Communications Security (Toronto, Canada) (CCS ’18). Association for Computing Machinery, New York, NY, USA, 931–948. https://doi.org/10.1145/3243734.3243853
Citations (4)

Summary

We haven't generated a summary for this paper yet.

X Twitter Logo Streamline Icon: https://streamlinehq.com

Tweets