[Paper Review] Distributed Nonblocking Commit Protocols for Many-Party Cross-Blockchain Transactions
This paper proposes CBT, a decentralized, nonblocking commit protocol for cross-blockchain transactions across an arbitrary number of blockchains without centralized coordination. By extending the two-phase commit with a heartbeat mechanism, CBT ensures liveness and achieves linear scalability with only 3.6% overhead between two blockchains and less than 1% overhead across 32 or more blockchains.
The interoperability across multiple blockchains would play a critical role in future blockchain-based data management paradigm. Existing techniques either work only for two blockchains or requires a centralized component to govern the cross-blockchain transaction execution, neither of which would meet the scalability requirement. This paper proposes a new distributed commit protocol, namely extit{cross-blockchain transaction} (CBT), for conducting transactions across an arbitrary number of blockchains without any centralized component. The key idea of CBT is to extend the two-phase commit protocol with a heartbeat mechanism to ensure the liveness of CBT without introducing additional nodes or blockchains. We have implemented CBT and compared it to the state-of-the-art protocols, demonstrating CBT's low overhead (3.6\% between two blockchains, less than $1\%$ among 32 or more blockchains) and high scalability (linear scalability on up to 64-blockchain transactions). In addition, we developed a graphic user interface for users to virtually monitor the status of the cross-blockchain transactions.
Motivation & Objective
- To address the lack of scalable, decentralized, and nonblocking protocols for multi-party cross-blockchain transactions.
- To eliminate reliance on centralized brokers or hubs that create bottlenecks and single points of failure.
- To support atomic, consistent transactions across an arbitrary number of heterogeneous blockchains.
- To provide a standardized, portable interface for cross-blockchain transaction execution, akin to SQL for relational databases.
- To demonstrate practical feasibility through implementation and a user-friendly graphical interface.
Proposed method
- Extends the classical two-phase commit (2PC) protocol with a heartbeat mechanism to detect and recover from coordinator failures without blocking.
- Employs a dynamic coordinator re-election process where a new coordinator is selected from the same blockchain upon failure, ensuring liveness.
- Uses message passing between blockchain participants to coordinate transaction preparation and commit decisions in a distributed manner.
- Implements a distributed consensus mechanism that avoids central authority while maintaining atomicity and consistency.
- Introduces a lightweight monitoring layer to track transaction status and message flow across blockchains.
- Develops a graphical user interface (GUI) to visualize transaction states and enable non-expert users to monitor and interact with cross-blockchain transactions.
Experimental results
Research questions
- RQ1Can a decentralized, nonblocking commit protocol be designed for cross-blockchain transactions involving an arbitrary number of blockchains?
- RQ2How can liveness be guaranteed in the absence of a centralized coordinator, especially under coordinator failure?
- RQ3What is the performance overhead of such a protocol compared to the idealized two-phase commit (2PC) in a failure-free setting?
- RQ4How does the protocol scale with increasing numbers of blockchains and transactions?
- RQ5Can a standardized, user-friendly interface be built to support practical deployment and monitoring of cross-blockchain transactions?
Key findings
- CBT achieves linear scalability across up to 64 blockchains, with a scaling factor within 3% of ideal performance across all tested workloads.
- The protocol incurs only 3.6% overhead compared to the ideal 2PC protocol when executing transactions between two blockchains.
- For 32 or more blockchains, the overhead drops to less than 1%, demonstrating strong performance efficiency at scale.
- CBT outperforms AC3, a centralized hub-based protocol, starting at 8 blockchains, where AC3’s performance degrades due to hub bottlenecking.
- The protocol successfully avoids blocking even under coordinator failure by enabling dynamic re-election of a new coordinator from the same blockchain.
- The developed GUI enables real-time monitoring of transaction status and message flow, enhancing usability for non-expert users.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.