- The paper introduces a novel approach by decoupling transaction dissemination from ordering via Narwhal, a DAG-based mempool.
- It demonstrates Tusk, a zero-message asynchronous BFT consensus protocol that achieves high throughput and low latency with linear scalability.
- Robustness is affirmed through rigorous fault tolerance tests, ensuring efficient performance under asynchronous network conditions and Byzantine faults.
Narwhal and Tusk: A DAG-based Mempool and Efficient BFT Consensus
Introduction
The paper "Narwhal and Tusk: A DAG-based Mempool and Efficient BFT Consensus" discusses the design and implementation of Narwhal, a high-throughput mempool protocol, and Tusk, a zero-message asynchronous consensus protocol. These innovations aim at improving transaction dissemination and consensus in Byzantine Fault Tolerant (BFT) systems. The authors propose separating transaction dissemination from ordering to enhance performance, and they demonstrate how Narwhal scales effectively with additional workers, achieving high throughput even under asynchrony and faults.
Narwhal: Design and Implementation
Narwhal is a DAG-based mempool protocol that specializes in reliable transaction dissemination and storage. It separates the mempool from consensus, allowing each layer to focus on its strengths. The system assumes a message-passing model with an asynchronous network, where up to f<n/3 validators can be Byzantine. Its core operations are designed to handle write, read, and causal dependency checks among blocks, using certificates of availability to ensure block integrity and accessibility.
Figure 1: Three rounds of Narwhal, illustrating block inclusion and certificate formation.
Key properties ensured by Narwhal include Integrity, Block-Availability, Containment, $2/3$-Causality, and $1/2$-Chain Quality. These features ensure transactions are disseminated efficiently and are ready for inclusion in consensus processes, regardless of network instability or faults.
Tusk: Asynchronous Consensus Protocol
Tusk extends the capabilities of Narwhal by providing an asynchronous consensus protocol that incorporates a random coin mechanism, similar to DAG-Rider, but with improved practical performance. Tusk stands out for its zero-message overhead, relying solely on the DAG structure formed by Narwhal for consensus, which enhances throughput without additional communication costs.
Figure 2: Example of commit rule in Tusk, demonstrating leader selection and total ordering in the DAG.
In Tusk, blocks are organized into waves. Each wave consists of blocks that propose, vote, and produce randomness for leader selection. The commit rule guarantees that, with high probability, a leader block in each wave is decided, ordering all its dependencies. This design ensures robustness and low-latency consensus, even when network conditions are less than ideal.
Narwhal and Tusk demonstrate substantial improvements in throughput and fault tolerance over traditional approaches such as baseline HotStuff and Batched-HotStuff. With a setup of four validators and multiple workers, Narwhal-Tusk achieves a throughput of 160,000 tx/sec with latency around three seconds. This linear scaling of throughput with added workers illustrates the effectiveness of their decoupled transaction dissemination approach.
Figure 3: Scale-out architecture in Narwhal, showing the parallel processing capabilities with multiple workers per validator.
The robustness of Narwhal and Tusk is evident from their stable performance during faults. Where traditional systems may suffer from degraded throughput and increased latency, Narwhal and Tusk maintain high efficiency, leveraging their underlying DAG-based design.
Implications and Future Work
The innovations presented in Narwhal and Tusk suggest a shift in designing distributed ledger systems. By decoupling consensus from transaction dissemination and leveraging DAG structures, these protocols provide a scalable infrastructure for BFT consensus, capable of handling high transaction volumes with resilience to network disruptions and Byzantine faults.
Future research could explore further optimizations in the scalability of the primary machine architecture and the application of these protocols to various use cases in blockchain and distributed ledger technologies. Additionally, extending the theoretical foundation and practical deployment of DAG-based consensus models can further advance the field of fault-tolerant distributed systems.
Conclusion
Narwhal and Tusk offer a significant contribution to the implementation of BFT consensus systems, addressing scalability, throughput, and fault tolerance challenges. By utilizing a DAG-based mempool and an innovative zero-message consensus protocol, these systems point towards a future of highly efficient and robust distributed ledgers in asynchronous and hostile network environments.