Papers
Topics
Authors
Recent
Gemini 2.5 Flash
Gemini 2.5 Flash
126 tokens/sec
GPT-4o
47 tokens/sec
Gemini 2.5 Pro Pro
43 tokens/sec
o3 Pro
4 tokens/sec
GPT-4.1 Pro
47 tokens/sec
DeepSeek R1 via Azure Pro
28 tokens/sec
2000 character limit reached

Jolteon and Ditto: Network-Adaptive Efficient Consensus with Asynchronous Fallback (2106.10362v4)

Published 18 Jun 2021 in cs.DC and cs.CR

Abstract: Existing committee-based Byzantine state machine replication (SMR) protocols, typically deployed in production blockchains, face a clear trade-off: (1) they either achieve linear communication cost in the happy path, but sacrifice liveness during periods of asynchrony, or (2) they are robust (progress with probability one) but pay quadratic communication cost. We believe this trade-off is unwarranted since existing linear protocols still have asymptotic quadratic cost in the worst case. We design Ditto, a Byzantine SMR protocol that enjoys the best of both worlds: optimal communication on and off the happy path (linear and quadratic, respectively) and progress guarantee under asynchrony and DDoS attacks. We achieve this by replacing the view-synchronization of partially synchronous protocols with an asynchronous fallback mechanism at no extra asymptotic cost. Specifically, we start from HotStuff, a state-of-the-art linear protocol, and gradually build Ditto. As a separate contribution and an intermediate step, we design a 2-chain version of HotStuff, Jolteon, which leverages a quadratic view-change mechanism to reduce the latency of the standard 3-chain HotStuff. We implement and experimentally evaluate all our systems. Notably, Jolteon's commit latency outperforms HotStuff by 200-300ms with varying system size. Additionally, Ditto adapts to the network and provides better performance than Jolteon under faulty conditions and better performance than VABA (a state-of-the-art asynchronous protocol) under faultless conditions. This proves our case that breaking the robustness-efficiency trade-off is in the realm of practicality.

Definition Search Book Streamline Icon: https://streamlinehq.com
References (39)
  1. Fault-scalable byzantine fault-tolerant services. In Proceedings of the twentieth ACM Symposium on Operating Systems Principles (SOSP), pages 59–74, 2005.
  2. Communication complexity of byzantine agreement, revisited. In Proceedings of the 2019 ACM Symposium on Principles of Distributed Computing, pages 317–326, 2019.
  3. Asymptotically optimal validated asynchronous byzantine agreement. In Proceedings of the 2019 ACM Symposium on Principles of Distributed Computing (PODC), pages 337–346, 2019.
  4. Network-agnostic state machine replication. arXiv preprint arXiv:2002.03437, 2020.
  5. The latest gossip on bft consensus. arXiv preprint arXiv:1807.04938, 2018.
  6. Casper the friendly finality gadget. arXiv preprint arXiv:1710.09437, 2017.
  7. Secure and efficient asynchronous broadcast protocols. In Annual International Cryptology Conference, pages 524–541. Springer, 2001.
  8. Random oracles in constantinople: Practical asynchronous byzantine agreement using cryptography. Journal of Cryptology, 18(3):219–246, 2005.
  9. Practical byzantine fault tolerance. In Proceedings of the third symposium on Operating Systems Design and Implementation (NSDI), pages 173–186. USENIX Association, 1999.
  10. Pili: An extremely simple synchronous blockchain. Cryptology ePrint Archive, Report 2018/980, 2018.
  11. Consensus in the presence of partial synchrony. Journal of the ACM (JACM), 35(2):288–323, 1988.
  12. Impossibility of distributed consensus with one faulty process. Journal of the ACM (JACM), 32(2):374–382, 1985.
  13. Aleph: Efficient atomic broadcast in asynchronous networks with byzantine nodes. In Proceedings of the 1st ACM Conference on Advances in Financial Technologies (AFT), pages 214–228, 2019.
  14. The next 700 bft protocols. In Proceedings of the 5th European Conference on Computer Systems (EuroSys), pages 363–376, 2010.
  15. Sbft: a scalable and decentralized trust infrastructure. In 2019 49th Annual IEEE/IFIP international conference on dependable systems and networks (DSN), pages 568–580. IEEE, 2019.
  16. Dumbo: Faster asynchronous bft protocols. In Proceedings of the 2020 ACM SIGSAC Conference on Computer and Communications Security, pages 803–818, 2020.
  17. Fast-hotstuff: A fast and resilient hotstuff protocol. arXiv preprint arXiv:2010.11454, 2020.
  18. All you need is dag. In Proceedings of the 2021 ACM Symposium on Principles of Distributed Computing (PODC), 2021.
  19. Enhancing bitcoin security and performance with strong consistency via collective signing. In 25th Usenix Security Symposium (Usenix Security 16), pages 279–296, 2016.
  20. Asynchronous distributed key generation for computationally-secure randomness, consensus, and threshold signatures. In Proceedings of the 2020 ACM SIGSAC Conference on Computer and Communications Security, pages 1751–1767, 2020.
  21. Zyzzyva: speculative byzantine fault tolerance. In Proceedings of twenty-first ACM Symposium on Operating Systems Principles (SOSP), pages 45–58, 2007.
  22. Optimistic asynchronous atomic broadcast. In International Colloquium on Automata, Languages, and Programming (ICALP), pages 204–215. Springer, 2005.
  23. Bolt-dumbo transformer: Asynchronous consensus as fast as pipelined bft. arXiv preprint arXiv:2103.09425, 2021.
  24. Dumbo-mvba: Optimal multi-valued validated asynchronous byzantine agreement, revisited. In Proceedings of the 39th Symposium on Principles of Distributed Computing, pages 129–138, 2020.
  25. Flexible byzantine fault tolerance. In Proceedings of the 2019 ACM Conference on Computer and Communications Security (CCS), pages 1041–1053, 2019.
  26. The honey badger of bft protocols. In Proceedings of the 2016 ACM SIGSAC Conference on Computer and Communications Security (CCS), pages 31–42, 2016.
  27. Hybrid-bft: Optimistically responsive synchronous consensus with optimal latency or resilience. Cryptology ePrint Archive, Report 2020/406, 2020.
  28. Ebb-and-flow protocols: A resolution of the availability-finality dilemma. arXiv preprint arXiv:2009.04987, 2020.
  29. Thunderella: Blockchains with optimistic instant confirmation. In Annual International Conference on the Theory and Applications of Cryptographic Techniques, pages 3–33. Springer, 2018.
  30. Parsimonious asynchronous byzantine-fault-tolerant atomic broadcast. In International Conference On Principles Of Distributed Systems, pages 88–102. Springer, 2005.
  31. Matthieu Rambaud. Malicious security comes for free in consensus with leaders. IACR Cryptol. ePrint Arch., 2020:1480, 2020.
  32. Blockchain cap theorem allows user-dependent adaptivity and finality. arXiv preprint arXiv:2010.13711, 2020.
  33. On the optimality of optimistic responsiveness. In Proceedings of the 2020 ACM SIGSAC Conference on Computer and Communications Security (CCS), page 839–857, 2020.
  34. Alexander Spiegelman. In search for a linear byzantine agreement. arXiv preprint arXiv:2002.06993, 2020.
  35. Ace: Abstract consensus encapsulation for liveness boosting of state machine replication. In 23rd International Conference on Principles of Distributed Systems (OPODIS), 2020.
  36. The LibraBFT Team. State machine replication in the libra blockchain, 2020. https://developers.libra.org/docs/state-machine-replication-paper.
  37. Strengthened fault tolerance in byzantine fault tolerant replication. In The 41st IEEE International Conference on Distributed Computing Systems (ICDCS), 2021.
  38. Hotstuff: Bft consensus with linearity and responsiveness. In Proceedings of the 2019 ACM Symposium on Principles of Distributed Computing (PODC), pages 347–356, 2019.
  39. Long live the honey badger: Robust asynchronous {{\{{DPSS}}\}} and its applications. In 32nd USENIX Security Symposium (USENIX Security 23), pages 5413–5430, 2023.
Citations (107)

Summary

  • The paper introduces innovative protocols, Jolteon and Ditto, that significantly reduce commit latency in consensus mechanisms.
  • The protocols use a 2-chain commit for Jolteon and an asynchronous fallback for Ditto to balance efficiency and network robustness.
  • Experimental results demonstrate a 200-300ms latency improvement and enhanced throughput under network faults compared to HotStuff and VABA.

Jolteon and Ditto: Network-Adaptive Efficient Consensus with Asynchronous Fallback

The paper "Jolteon and Ditto: Network-Adaptive Efficient Consensus with Asynchronous Fallback" presents two innovative Byzantine fault-tolerant (BFT) protocols aimed at improving the performance of consensus mechanisms in blockchain and distributed systems. These protocols, Jolteon and Ditto, address the existing trade-offs in committee-based Byzantine state machine replication (SMR) protocols, particularly focusing on communication complexity and robustness against network asynchrony.

Core Contributions

  1. Jolteon Protocol: This protocol modifies the existing HotStuff protocol by introducing a 2-chain commit rule, thereby reducing the block-commit latency by approximately 30% compared to the original HotStuff's 3-chain commit rule. Jolteon specifically preserves HotStuff's linear communication pattern during good network conditions but accepts a quadratic view-change during network disruptions. This adjustment allows for faster commitment of transactions without sacrificing communication efficiency under optimal conditions.
  2. Ditto Protocol: Building upon Jolteon, Ditto combines the linear communication advantage of HotStuff while ensuring robustness during asynchronous network states. Unlike Jolteon, which relies on a partially synchronous network model, Ditto employs an asynchronous fallback mechanism that takes over when network conditions are non-ideal. The fallback mechanism guarantees progress under asynchrony with quadratic communication cost, aligning with the theoretical cost of acknowledged asynchronous protocols like VABA.

Numerical Outcomes and Evaluation

  • Commit Latency: Jolteon achieves a commit latency improvement of 200-300 milliseconds over HotStuff across different system sizes (10, 20, and 50 nodes) in a wide area network (WAN) deployment.
  • Comparison with VABA: Ditto shows superior performance in faultless conditions compared to VABA, a state-of-the-art asynchronous protocol, demonstrating the practical viability of breaking robustness-efficiency trade-offs.
  • Resilience Under Faulty Conditions: Ditto displays better throughput under faulty conditions and network instability compared to Jolteon and HotStuff, proving its adaptability and resilience.

Theoretical Implications

The paper advances the paper of consensus protocols by proving that it is feasible to coalesce the efficiency of linear protocols with the resilience of quadratic protocols under adverse conditions. Jolteon's design acknowledges the inevitable quadratic cost of worst-case network scenarios and optimizes for latency under normal conditions, thereby lifting a significant limitation in previous work. Ditto's introduction of a seamless switch between synchronous and asynchronous paths without cost overhead reinforces the theoretical possibility of versatile BFT solutions.

Practical Implications

The practical implications of this research are considerable, particularly for blockchain systems requiring both high throughput and robustness against asynchrony and DDoS attacks. The ability to gracefully transition between communication paradigms ensures that systems using Jolteon or Ditto can maintain operational continuity across diverse and unpredictable network conditions. This adaptability benefits critical infrastructures that rely on blockchain technologies, enhancing their reliability and efficiency.

Future Directions

Future research could explore incorporating optimistic 1-chain commits within the Jolteon and Ditto frameworks, potentially further reducing latency in faultless environments. Additionally, it would be worthwhile to investigate the scalability of these protocols across larger and more heterogeneous network architectures, ensuring their applicability in a broader range of real-world scenarios.

In summary, the paper proposes significant advancements in BFT consensus protocols by developing Jolteon and Ditto. These protocols rectify existing inefficiencies and vulnerabilities, paving the way for more robust and efficient blockchain systems suited to handle both synchronous and asynchronous network conditions adeptly.