[Paper Review] Early Detection for Multiversion Concurrency Control Conflicts in Hyperledger Fabric
This paper proposes Early Detection for MVCC Conflicts (EMVCC), a novel mechanism that detects transaction conflicts during the endorsement phase in Hyperledger Fabric using local key caching, significantly reducing end-to-end latency and improving goodput. The best-performing implementation, SyncMap, improves goodput by up to 23% and reduces latency by up to 80% compared to the baseline Fabric by aborting conflicting transactions earlier in the EOV pipeline.
Hyperledger Fabric is a popular permissioned blockchain system that features a highly modular and extensible system for deploying permissioned blockchains which are expected to have a major effect on a wide range of sectors. Unlike traditional blockchain systems such as Bitcoin and Ethereum, Hyperledger Fabric uses the EOV model for transaction processing: the submitted transactions are executed by the endorsing peer, ordered and batched by the ordering services, and validated by the validating peers. Due to this EOV workflow, a well-documented issue that arises is the multi-version concurrency control conflict. This happens when two transactions try to writes and read the same key in the ledger at the same time. Existing solutions to address this problem includes eliminating blocks in favor of streaming transactions, repairing conflicts during the ordering phase, and automatically merging the conflicting transactions using CRDT (Conflict Free Replicated Data) techniques. In this paper, we propose a novel solution called Early Detection for MVCC Conflicts. Our solution detects the conflicting transactions at an early stage of the transaction execution instead of processing them until the validation phase to be aborted. The advantage of our solution is that it detects conflict as soon as possible to minimize the overhead of conflicting transaction on the network resulting in the reduction of the end-to-end transaction latency and the increase of the system's effective throughput. We have successfully implemented our solution in Hyperledger Fabric. We propose three different implementations which realize early detection. Our results show that our solutions all perform better than the baseline Fabric, with our best solution SyncMap which improves the goodput by up to 23% and reduces the latency by up to 80%.
Motivation & Objective
- Address the performance bottleneck caused by MVCC conflicts in Hyperledger Fabric’s EOV transaction model, where conflicting transactions are only detected late during validation.
- Reduce the overhead of aborted transactions that consume block space and require client retries, thereby improving system throughput and efficiency.
- Minimize end-to-end transaction latency by detecting conflicts as early as the endorsement phase, before ordering and validation.
- Improve system goodput by proactively identifying and aborting transactions with high conflict probability before they consume network and storage resources.
- Provide a flexible, modular solution compatible with existing Fabric architecture that can be deployed with minimal changes to chaincode or network configuration.
Proposed method
- Introduce a local key cache at endorsing peers to track read-write sets and detect potential MVCC conflicts before transaction ordering.
- Implement three variants—SyncMap, Lock-Free, and Mutex Lock—using different concurrent data structures to manage the key cache with varying trade-offs in performance and consistency.
- Integrate the EMVCC detection logic into the endorsement phase, allowing early abortion of transactions that would otherwise fail during validation due to version mismatches.
- Use theoretical modeling to analyze conflict detection effectiveness based on endorsement policies, organization count, and peer distribution.
- Design the solution to be transparent to clients and compatible with existing Fabric components, including MSP and chaincode execution.
- Evaluate the solution under varying workloads, chaincode access patterns (using Zipf distribution), and network topologies to assess scalability and robustness.
Experimental results
Research questions
- RQ1Can MVCC conflicts in Hyperledger Fabric be detected earlier in the EOV pipeline to reduce latency and improve goodput?
- RQ2How does the choice of endorsement policy (AND vs. OR) affect the effectiveness and false positive/negative rates of early conflict detection?
- RQ3What is the impact of network topology, including the number of peers per organization, on the performance of early conflict detection?
- RQ4How does the access pattern of chaincode (e.g., skewed key access via Zipf distribution) influence the detection rate and performance gains of EMVCC?
- RQ5Which concurrent data structure (SyncMap, Lock-Free, Mutex Lock) provides the optimal balance of performance, scalability, and conflict detection accuracy?
Key findings
- The SyncMap implementation achieves up to 23% higher goodput and up to 80% lower end-to-end transaction latency compared to the baseline Hyperledger Fabric.
- False negatives—conflicts not detected at endorsement but caught at validation—reach 22% under AND policy with two organizations and two peers per org, indicating room for improvement in detection coverage.
- Increasing the number of peers per organization improves throughput and goodput, especially under AND endorsement policy, due to better conflict detection and load distribution.
- The OR endorsement policy leads to higher false positive rates, reducing performance gains despite higher raw throughput, making AND policy more effective when conflict detection is prioritized.
- Under high conflict rates (e.g., s = 1.5 in Zipf distribution), SyncMap improves goodput by 35% compared to Fabric, demonstrating strong scalability under realistic workloads.
- The solution is most effective when combined with AND endorsement policy, minimal peers per org, and careful block size tuning to minimize intra- and inter-block conflicts.
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.