Abstract
Modern cloud-native databases have successfully decoupled compute from storage to achieve independent scaling. However, Concurrency Control (CC)—the mechanism ensuring transactional integrity—remains tightly coupled with either the execution or storage layers. This coupling introduces coordination bottlenecks and limits elasticity. We present Concurrency Control as a Service (CCaaS), a novel architecture that fully decouples CC into an independent, sharded service. Evaluation shows that CCaaS achieves up to 3.11× higher throughput and 2.75× lower latency than state-of-the-art cloud databases while supporting cross-model ACID transactions.
Introduction
The evolution of cloud databases toward compute-storage disaggregation (e.g., Amazon Aurora, Snowflake) has revolutionized scalability. Yet, a critical component remains "stuck": Concurrency Control. When CC is coupled with execution, adding compute nodes increases coordination overhead, leading to a performance ceiling. Conversely, coupling CC with storage limits conflict resolution agility. This paper addresses these bottlenecks by proposing a three-layer architecture: Execution—CC—Storage.
The CCaaS Architecture
CCaaS treats transaction management as a first-class, independent service. This separation allows the CC layer to scale according to conflict density rather than just data volume or query complexity. By treating CC as a service, the system can handle heterogeneous data models through a unified interface.
Key Innovations
To mitigate network latency inherent in a three-layer design, CCaaS introduces several optimizations:
- Sharded Multi-Write OCC (SM-OCC): Transaction metadata is sharded across multiple nodes using deterministic conflict resolution. This avoids central sequencers and heavy consensus protocols for every conflict.
- Epoch-Based Committing: Instead of per-transaction coordination, CCaaS groups transactions into time-based epochs (e.g., 5-10ms). Coordination occurs at the epoch boundary, drastically reducing network chatter.
- Asynchronous Log Push-down: The execution layer is notified of a commit as soon as the CC layer persists the log locally, hiding the latency of final storage persistence.
- Unified Interfaces: A "LogAdaptor" layer translates generic logs into specific formats for engines like HBase, SQL (openGauss), or Graph (NebulaGraph).
Evaluation and Results
The system was evaluated using industry-standard benchmarks including YCSB, TPC-C, and LDBC-SNB.
Scalability and Performance
A primary advantage of CCaaS is its ability to scale coordination independently. As shown in the comparison below, traditional methods like 2PL+2PC suffer from rapidly increasing coordination time as nodes are added. In contrast, the epoch-based OCC in CCaaS maintains a much lower and more stable coordination overhead, enabling near-linear performance gains.
Key results include:
- Throughput & Latency: CCaaS outperformed TiDB and FoundationDB, showing 1.02–3.11× higher throughput and 1.11–2.75× lower latency.
- Cross-Model Capability: The authors successfully demonstrated a single transaction modifying data in HBase (KV), openGauss (SQL), and NebulaGraph (Graph) simultaneously while maintaining ACID properties.
Discussion and Future Work
CCaaS proves that concurrency control is essentially a key-based conflict resolution problem, independent of the underlying data model. However, current limitations include the lack of full Serializability support (currently Snapshot Isolation) and higher abort rates under extreme write contention. Future research will explore offloading CC logic to hardware accelerators like SmartNICs or DPUs.
Conclusion
By decoupling Concurrency Control into a standalone service, CCaaS unlocks a new level of elasticity for cloud-native databases. It removes the coordination bottleneck of coupled architectures and paves the way for truly heterogeneous, transactional cloud data platforms.
Summary updated