arXiv:2609.03315cs.DCSep 2026

Manuscript Offprint

arXiv:2609.03315

Lantern: Finding Committable Transactions via Back-Propagation on DAGs

Denglong Li, Gerui Wang, Tian Guan, Mingchao Wan

Denglong Li*, Gerui Wang†, Tian Guan*, Mingchao Wan†

*Tsinghua University, †Beijing Academy of Blockchain and Edge Computing

li-dl24@mails.tsinghua.edu.cn, wanggerui@baec.org.cn, guantian@sz.tsinghua.edu.cn, chainmaker@baec.org.cn

Abstract—Existing concurrency control protocols either introduce nondeterminism, resulting in a serial execution-replay dependency between primary and replica nodes, or rely on impractical prior knowledge of transaction read-write sets. In this paper, we present Lantern, a deterministic concurrency control protocol tailored for high-performance transaction processing systems operating without prior knowledge. The key insight of Lantern is that all zero-out-degree transaction vertices in the local dependency graph can be safely committed in ascending order using an overwrite-permissive strategy. We further introduce a novel Back-Propagation mechanism that iteratively propagates dependency states from sink to source vertices to identify additional committable transactions. We also propose Conflict-Free Batch Selection (CFBS) for read-modify-write intensive scenarios. We integrate Lantern into the open-source blockchain platform ChainMaker. Extensive evaluations on YCSB and SmallBank benchmarks demonstrate that Lantern achieves up to a 4.2x throughput speedup over Aria and improves the throughput of ChainMaker's execution layer by at least 2.2x.

Index Terms—deterministic concurrency control, parallel algorithm.

I. INTRODUCTION

As blockchain adoption continues to expand, improving transaction throughput has become a critical challenge. Recent advances in Byzantine Fault Tolerant (BFT) consensus protocols [1]–[3] have substantially increased consensus-layer performance. As a result, transaction execution is emerging as a major performance bottleneck. Traditional blockchain systems such as Bitcoin [4] and Ethereum [5] execute transactions sequentially, which severely limits the utilization of modern multi-core processors. Consequently, parallel transaction execution has become a natural approach to enhancing throughput.

However, many concurrency control protocols are nondeterministic [6]–[8]. Although they can effectively exploit intra-node parallelism, participating nodes cannot execute transactions simultaneously and independently, as the execution outcomes may diverge across different nodes. To eliminate such inconsistencies, nondeterministic protocols typically operate under a two-stage execution architecture [9]–[12] to ensure that all participating nodes produce identical serializable results. As illustrated in Fig. 1, the primary node first utilizes a nondeterministic protocol to execute transactions in parallel. Once execution completes, the primary node generates scheduling metadata that captures the exact dependencies between transactions and disseminates it to replica nodes

during one of the communication rounds of the BFT protocol. Subsequently, replica nodes use this metadata to guide their replay, thereby producing the exact same serializable outcome as the primary node.

Obviously, this workflow introduces a strict serial dependency between the primary node and replica nodes, which limits inter-node parallelism and reduces overall execution-layer throughput. Specifically, we identify three key properties when adopting nondeterministic protocol under the two-stage execution architecture:

(i) Cumulative Latency, where the overall execution latency is cumulative, equaling the sum of the execution stage and the replay stage; (ii) Efficient Replay, since transaction conflicts are already resolved during the execution stage, the replay stage is completely decoupled from conflict resolution and only needs to replay transactions based on the metadata, yielding a significantly higher throughput; and (iii) Metadata Dependency, meaning the replay stage is strictly contingent upon the scheduling metadata generated during the execution stage and cannot function independently.

ChainMaker [8] adopts a nondeterministic protocol based on optimistic concurrency control (OCC) [13], relying on the aforementioned two-stage execution architecture to guarantee state consistency across nodes. As China's most prominent consortium blockchain platform—securing the top domestic market share for three consecutive years since its launch in 2021 [14]—ChainMaker serves as a representative baseline for our study.

In contrast, deterministic concurrency control protocols [15]–[19] allow all participating nodes to execute transactions simultaneously in a single execution stage while deterministically reaching identical serializable results. Such deterministic protocols are well-suited for the Order-Execute (OE) architecture [20]–[22]. As illustrated in Fig. 2, in the order stage, all nodes leverage a BFT protocol to establish a globally ordered transaction sequence. In the subsequent execution stage, all nodes take this identical transaction sequence as input and employ a deterministic protocol to output an identical serializable outcome. Compared with the two-stage execution architecture, the OE architecture eliminates the strict serial dependency between the primary node and replica nodes, thereby completely avoiding the issue of Cumulative Latency.

Furthermore, deterministic protocols can be categorized into static-analysis-based protocols [15], [16], [23], [24] and runtime protocols [17], [18], [20]. The former rely on a

This work was funded by the Beijing Advanced Innovation Center for Future Blockchain and Privacy Computing.

Figure

Fig. 1: Two-Stage Execution Architecture

Figure

Fig. 2: Order-Execute (OE) architecture

priori knowledge of transaction read-write sets to determine a schedule in advance. However, this assumption is often impractical in blockchain environments. Since smart contracts are typically quasi-Turing-complete [25], their read and write sets generally cannot be accurately determined prior to execution. Therefore, runtime protocols that do not require prior knowledge are imperative for blockchain systems.

In this paper, we propose Lantern, a deterministic concurrency control protocol tailored for high-performance transaction processing systems that eliminates the need for prior knowledge of transaction read-write sets. By employing a batch-based graph construction scheme, Lantern strictly confines transaction dependencies within individual batches. Within each batch, all zero-out-degree vertices in the dependency graph are identified as commitable transactions, which are committed in ascending order by leveraging the overwrite behavior inherent in serial execution. At its core, Lantern further introduces a deterministic Back-Propagation mechanism that iteratively propagates dependency states from sink to source vertices to improve the transaction commit rate, for which we provide a rigorous theoretical proof of liveness. In addition, Lantern integrates a Conflict-Free Batch Selection (CFBS) mechanism to mitigate star-like dependency graphs under hot-account read-modify-write scenarios.

Beyond blockchain systems, Lantern is highly extensible to general database systems. In deterministic databases [26], a sequencing layer typically establishes a total order over incoming transactions, utilizing a replicated log backed by crash fault-tolerant (CFT) protocols to guarantee fault tolerance. Once this globally agreed-upon transaction sequence is established, each node can independently and concurrently leverage Lantern to achieve highly efficient execution, producing an identical, serializable outcome. More broadly, Lantern can be seamlessly integrated into any system that provides a globally ordered transaction stream.

As a state-of-the-art protocol, Aria [17] was originally proposed for deterministic OLTP databases. Because Aria is deterministic and requires no prior read-write knowledge, it can also be seamlessly applied to blockchain systems. While both Lantern and Aria fall into the same category of deterministic protocols that operate without prior knowledge,

Lantern achieves significantly higher throughput. Furthermore, Lantern establishes its serializability [27], [28] through a constructive proof, which enables empirical validation of both its serializability and determinism. In contrast, Aria relies on an existence proof for its serializability, making it impossible to directly validate this property through experimental evaluation.

Block-STM [18] also addresses parallel execution. However, Block-STM is highly VM-assisted and can only achieve its peak performance when paired with their customized Aptos VM. For instance, it requires the underlying virtual machine to suspend execution upon encountering a read conflict and resume it once the conflict is resolved. This suspension-and-resumption capability is currently supported only by the Aptos VM and is absent from most mainstream execution engines, including Wasmer, EVM, Docker-Go, and Diem VM, etc. Consequently, Block-STM exhibits poor portability, making it exceptionally difficult to port to other blockchain platforms. In contrast, our proposed Lantern is entirely VM-agnostic. Because Lantern performs transaction scheduling solely based on read-write sets, it remains completely oblivious to the underlying execution environments, thereby serving as a highly generic protocol. Furthermore, Lantern uniquely enables multiple heterogeneous VM engines to coexist within a single blockchain system while using Lantern as their unified concurrency control protocol.

Another well-known work is Hyperledger Fabric [29], which adopts the Execute-Order-Validate (EOV) architecture with multiple participating roles. Specifically, clients first send transaction proposals to endorsing peers. These endorsing peers execute the transactions in parallel and generate corresponding read-write sets. The read-write sets are then returned to the client, which assembles them into formal transactions and forwards them to the trusted ordering service. The ordering service establishes a total order for the transactions based on their arrival, packages them into blocks, and disseminates these blocks to all peers. Upon receiving a block, each peer validates the transactions to detect conflicts before updating the world state with the valid ones. To optimize this EOV architecture, several variants have been proposed, such as Fabric++ [30], Fabric# [31], and XOX Fabric [32]. In contrast to these system-level optimizations tailored for Fabric's EOV architecture, Lantern is an independent protocol that can be seamlessly integrated into any system providing a globally agreed transaction sequence, where all nodes leverage Lantern to execute transactions independently and concurrently without inter-node coordination.

We have fully integrated Lantern into the open-source blockchain platform ChainMaker [8]. Comprehensive evaluations on both YCSB and SmallBank benchmarks demonstrate that Lantern outperforms Aria [17] by up to 4.2× in throughput. Furthermore, by eliminating the serial execution-replay dependency between primary and replica nodes, Lantern boosts ChainMaker's execution layer throughput by at least 2.2×.

References (36)