Lemonshark: Asynchronous DAG-BFT With Early Finality

Michael Yiqing Hu (National University of Singapore), Alvin Hong Yao Yan (National University of Singapore), Yihan Yang (National University of Singapore), Xiang Liu (National University of Singapore), Jialin Li (National University of Singapore)

23rd USENIX Symposium on Networked Systems Design and Implementation (NSDI '26) · Day 1 · Storage Systems and Architecture

Overview

Lemonshark is a fully asynchronous Byzantine Atomic Broadcast (BAB) protocol featuring optimal resilience and a novel mechanism for early finality. Presented at USENIX NSDI by researchers from the National University of Singapore, the protocol targets the fundamental latency bottleneck inherent in traditional Directed Acyclic Graph (DAG)-based Byzantine Fault Tolerant (BFT) consensus systems. While prior DAG-based protocols like DAG-Rider, Tusk, and Bullshark have successfully decoupled block dissemination from ordering, they universally rely on explicit leader commitment to safely finalize transaction execution. This reliance forces non-leader blocks—which are characteristically identical to leader blocks—to wait multiple rounds for a committed leader to absorb them into its causal history.

Watch on YouTube · Slides

Visual summary for Lemonshark: Asynchronous DAG-BFT With Early Finality by Michael Yiqing Hu, Alvin Hong Yao Yan, Yihan Yang, Xiang Liu, Jialin Li
Visual summary for Lemonshark: Asynchronous DAG-BFT With Early Finality by Michael Yiqing Hu, Alvin Hong Yao Yan, Yihan Yang, Xiang Liu, Jialin Li

Key moments

  1. 0:00 Introduction and Lemon Shark overview
  2. 0:41 Crash course on DAG-based BFT protocols
  3. 2:33 The problem: unfair latency for non-leader blocks
  4. 4:28 Key insights and design changes for early finality
  5. 6:00 Key space partitioning and transaction categorization
  6. 8:00 Conditions for early finality on single shard transactions
  7. 12:35 Evaluation and performance results compared to Bullshark
  8. 13:58 Conclusion and closing remarks

Lemonshark: Asynchronous DAG-BFT With Early Finality

Speakers: Michael Yiqing Hu, Alvin Hong Yao Yan, Yihan Yang, Xiang Liu, Jialin Li (National University of Singapore)

Conference: USENIX NSDI

YouTube: https://www.youtube.com/watch?v=7q5DC93eeJE

Overview

Lemonshark is a fully asynchronous Byzantine Atomic Broadcast (BAB) protocol featuring optimal resilience and a novel mechanism for early finality. Presented at USENIX NSDI by researchers from the National University of Singapore, the protocol targets the fundamental latency bottleneck inherent in traditional Directed Acyclic Graph (DAG)-based Byzantine Fault Tolerant (BFT) consensus systems. While prior DAG-based protocols like DAG-Rider, Tusk, and Bullshark have successfully decoupled block dissemination from ordering, they universally rely on explicit leader commitment to safely finalize transaction execution. This reliance forces non-leader blocks—which are characteristically identical to leader blocks—to wait multiple rounds for a committed leader to absorb them into its causal history.

Lemonshark challenges this paradigm by introducing structural and algorithmic changes that allow nodes to evaluate and deliver safe transaction outcomes before leader election and official commitment. By restructuring causal history sorting and introducing deterministic key-space sharding, Lemonshark achieves up to a 65% reduction in end-to-end latency compared to state-of-the-art baselines like Bullshark. The protocol maintains this performance advantage even under adverse network conditions, including heavy cross-shard workloads and simulated node crash faults.

Background

▶ Watch: Introduction and Lemon Shark overview (0:00)

In modern replicated state machine replication (SMR) and distributed database systems, BFT consensus protocols are vital for securing infrastructure against arbitrary or malicious node behavior. Traditional blockchain and SMR protocols organize transactions into linear chains, creating severe throughput and latency bottlenecks as message complexity scales. To overcome this, contemporary systems leverage DAG-based BFT architectures. In a typical DAG-based protocol—exemplified by Bullshark—every node produces a block in each round via a reliable broadcast primitive. Each block references a quorum threshold ($2f + 1$) of blocks from the previous round, weaving a distributed DAG where communication rounds finish asynchronously.

Once the DAG structure propagates, protocol rounds are punctuated by elected leader blocks (determined via round-robin schedules or common-coin randomizations). These leaders acquire sufficient votes—represented by paths from blocks in subsequent rounds—and are ordered totally. The causal history of a committed leader (all ancestor blocks minus those claimed by prior leaders) is then fed into a deterministic sorting algorithm, yielding a total order sequence for database execution.

However, this architecture creates a structural inequality. Leader blocks enjoy immediate execution in the subsequent round, whereas non-leader blocks must wait until a future leader includes them in its causal history and successfully commits. This introduces multiple rounds of latency for non-leader blocks, creating unfairness and inflating end-to-end transaction latency. Resolving this latency tax without sacrificing the safety guarantees of asynchronous BFT has remained an open challenge in distributed systems engineering.

Key Findings

▶ Watch: The problem: unfair latency for non-leader blocks (2:33)

Lemonshark demonstrates that early finality is achievable in asynchronous DAG-BFT protocols without compromising safety or resilience. The primary findings and empirical contributions include:

  • Latency Reduction: Lemonshark reduces end-to-end commit latencies by up to 65% for single-shard workloads compared to state-of-the-art asynchronous DAG-BFT baselines like Bullshark.
  • Cross-Shard Efficiency: Even under heavy cross-shard activity, Lemonshark maintains at least a 25% improvement in latency over the baseline.
  • Fault Resilience: Under maximum tolerable crash faults ($f$), Lemonshark preserves a 25% latency improvement for single-shard transactions and 14% for heavy cross-shard traffic. This resilience stems from the protocol's ability to bypass leader election dependencies when evaluating early finality conditions.
  • Decoupled Finality: The protocol proves that safe transaction outcomes can be computed locally by individual nodes with incomplete views of the DAG, eliminating the multi-round waiting period previously mandated by leader commitments.

Technical Deep Dive

▶ Watch: Key space partitioning and transaction categorization (6:00)

To achieve early finality, Lemonshark introduces a systematic restructuring of causal history sorting, transaction categorization, and key-space management.

Causal History Sorting

Traditional DAG-BFT protocols permit any arbitrary deterministic sorting algorithm over a leader's causal history. Lemonshark restricts this flexibility by enforcing a strict sorting technique: a breadth-first search (BFS) sort followed by a reversal of the resulting order. For example, given block $B_5$, its sorted causal history places blocks $B_2$, $B_3$, and $B_4$ after $B_1$ specifically because $B_1$ originated in an earlier round. This deterministic constraint minimizes the probability that blocks from future rounds will be ordered ahead of blocks from earlier rounds during execution.

Key-Space Partitioning and Sharding

To make tracking inter-round conflicts tractable under network asynchrony and Byzantine faults, Lemonshark partitions the database key space into $N$ distinct shards. It enforces a structural rule: in any given round, only a single designated node may create blocks for a specific shard. While the schedule is flexible, its public visibility guarantees that no conflicting actions can occur within the same round.

To maintain database generality, Lemonshark categorizes transactions into three distinct types:

  1. Type Alpha ($\alpha$): Intra-shard transactions (the primary focus of the core protocol).
  2. Type Beta ($\beta$): Cross-shard reads combined with single-shard writes.
  3. Type Gamma ($\gamma$): Fully atomic, serializable multi-shard transactions.

Early Finality Evaluation for Type Alpha Transactions

Lemonshark evaluates early finality at the block level. A block $B$ satisfies the criteria for early finality if its internal block outcome—computed by executing transactions in its sorted causal history—matches the eventual outcome upon official commitment.

For single-shard ($\alpha$) transactions, nodes verify early finality through two primary mechanisms:

  • Persistence Checks: A block persists in round $R$ if, out of any set of $2f + 1$ blocks in that round, at least one block maintains a directed path to it. By quorum intersection, persistence guarantees that the block will eventually commit. The first uncommitted green block in a shard's sequence can be proven safe at round $R+2$ (whereas official commitment would normally require waiting until round $R+4$).
  • Recursive Reference Chains: For blocks beyond the initial uncommitted block, Lemonshark requires blocks to recursively reference green blocks from the immediate previous round up to the last uncommitted green block. This recursive chain forces any future committed leader to respect a proper prefix of the chain, ensuring that conflicting actions execute in the exact sequence established by the local sorted causal history.

Experimental Setup & Results

▶ Watch: Conditions for early finality on single shard transactions (8:00)

The authors implemented Lemonshark by forking the open-source asynchronous Bullshark repository in order to run a direct, controlled comparison against the state-of-the-art baseline. All experiments replicated Bullshark’s original network and system parameters, averaging data across three independent runs.

  • Single-Shard Scaling: When scaling transaction load and node count in a single-shard configuration, Lemonshark successfully maintains stable consensus latencies even as queuing delays spike end-to-end latencies under heavy loads. Lemonshark achieves a headline 65% reduction in commit latency compared to Bullshark.
  • Cross-Shard Workloads: Under intense cross-shard transaction traffic, Lemonshark retains a 25% performance improvement over the baseline architecture.
  • Crash Fault Injection: Simulating maximum tolerable crash faults typically creates missing leaders in traditional protocols, stalling system-wide commitment. Because Lemonshark's early finality conditions operate independently of leader elections, it continues to produce early results, yielding a 25% latency improvement for single-shard workloads and 14% under heavy cross-shard traffic during active faults.

Practical Implications

▶ Watch: Conclusion and closing remarks (13:58)

For infrastructure teams, protocol engineers, and distributed database deployers, Lemonshark demonstrates that the latency tax historically associated with asynchronous BFT consensus is not a fundamental law of distributed systems. By leveraging deterministic sorting and key-space partitioning, distributed ledgers can deliver finalized state updates to clients significantly faster—reducing user-facing latency from multiple rounds down to immediate local verification.

However, these performance gains come with specific engineering tradeoffs:

  • Partitioning Constraints: The key-space sharding requirement—restricting shard block creation to a single designated node per round—imposes scheduling constraints on transaction routers. While flexible, public schedules must be strictly maintained.
  • Complexity of Cross-Shard Handling: While Lemonshark handles multi-shard transactions ($\beta$ and $\gamma$ types), managing atomic serialization across shards introduces algorithmic overhead that narrows the latency improvement margin from 65% down to 25%.
  • Implementation Overhead: Forking and adapting existing asynchronous codebases like Bullshark requires deep protocol-level modifications to incorporate recursive referencing chains and block-level early finality evaluations.

Key Takeaways

  • Lemonshark is the first asynchronous DAG-BFT protocol to achieve early finality, delivering safe transaction results before official leader commitment.
  • The protocol reduces end-to-end commit latencies by up to 65% in single-shard settings compared to state-of-the-art baselines like Bullshark.
  • By enforcing a strict BFS-and-reverse sorting technique on causal histories, Lemonshark minimizes out-of-order execution anomalies from future rounds.
  • Key-space partitioning restricts shard block creation to single designated nodes per round, enabling tracking of inter-round conflicts under Byzantine asynchrony.
  • Early finality conditions bypass the dependency on leader elections, allowing consensus systems to maintain performance and deliver early results even when nodes experience crash faults.

About the Speaker(s)

Michael Yiqing Hu is a researcher at the National University of Singapore (NUS) and the lead presenter of this work. The research was conducted collaboratively at NUS alongside co-authors Alvin Hong Yao Yan, Yihan Yang, Xiang Liu, and Jialin Li, drawing on the department's ongoing systems research in asynchronous distributed protocols and high-performance blockchain architectures.

Reviews

→ Top-rated talks at 23rd USENIX Symposium on Networked Systems Design and Implementation (NSDI '26)

All talks from 23rd USENIX Symposium on Networked Systems Design and Implementation (NSDI '26)