Skip to main content
QUICK REVIEW

[Paper Review] Oze: Decentralized Graph-based Concurrency Control for Long-running Update Transactions (Extended Version)

Jun Nemoto, Takashi Kambayashi|arXiv (Cornell University)|Oct 9, 2022
Distributed systems and fault toleranceComputer Science4 citations
TL;DR

Oze is a decentralized, graph-based concurrency control protocol that uses a precise multi-version serialization graph to enable zero abort rates for long-running update transactions while achieving up to 1.7 million tpm for short transactions under heterogeneous workloads. It achieves this by decentralizing graph management across cores and exploiting a large scheduling space to minimize false positives in serialization checks.

ABSTRACT

This paper proposes Oze, a concurrency control protocol that handles heterogeneous workloads, including long-running update transactions. Oze explores a large scheduling space using a multi-version serialization graph to reduce false positives. Oze manages the graph in a decentralized manner to exploit many cores in modern servers. We further propose an OLTP benchmark, BoMB (Bill of Materials Benchmark), based on a use case in an actual manufacturing company. BoMB consists of one long-running update transaction and five short transactions that conflict with each other. Experiments using BoMB show that Oze can handle the long-running update transaction while achieving four orders of magnitude higher throughput than state-of-the-art optimistic and multi-version protocols and up to five times higher throughput than pessimistic protocols. We also show Oze performs comparably with existing techniques even in a typical OLTP workload, TPC-C, thanks to a protocol switching mechanism.

Motivation & Objective

  • To address the challenge of supporting long-running update transactions in real-world OLTP workloads with high concurrency.
  • To reduce abort rates for long-running transactions that conflict with short, high-frequency transactions in dynamic environments.
  • To design a concurrency control protocol that scales efficiently on modern many-core servers without sacrificing serializability.
  • To propose a realistic OLTP benchmark, BoMB, reflecting real manufacturing workloads involving Bill of Materials (BoM) updates and cost calculations.
  • To demonstrate that existing protocols fail to commit long transactions or degrade short transaction performance under such workloads.

Proposed method

  • Oze uses a fully precise multi-version serialization graph (MVSG) to explore a large scheduling space and reduce false positives in serialization checks.
  • It decentralizes MVSG management across multiple cores to scale with modern hardware and avoid bottlenecks.
  • The protocol performs cycle detection and version ordering in a distributed manner, minimizing contention and improving throughput.
  • Oze employs a propagation mechanism to track write dependencies across transactions, ensuring serializability across long and short transactions.
  • It integrates garbage collection to manage graph bloat, though graph size growth under high skew remains a performance bottleneck.
  • The system is evaluated using a new benchmark, BoMB, which models real-world manufacturing workloads with one long-running update and five conflicting short transactions.

Experimental results

Research questions

  • RQ1Can a concurrency control protocol achieve zero aborts for long-running update transactions while maintaining high throughput for short transactions in a heterogeneous OLTP workload?
  • RQ2How does decentralized management of a multi-version serialization graph improve scalability and reduce false positives compared to centralized or optimistic approaches?
  • RQ3To what extent do existing protocols fail to commit long-running update transactions in real-world workloads with dynamic data dependencies?
  • RQ4How does workload skew affect the performance and graph size in a graph-based concurrency control system like Oze?
  • RQ5Can a new benchmark like BoMB effectively capture the characteristics of real manufacturing workloads involving long-running cost calculation and frequent component updates?

Key findings

  • Oze achieves zero abort rate for the long-running update transaction (L1) in the BoMB benchmark, even under high contention.
  • Oze sustains up to 1.7 million tpm for short transactions with near-linear scalability across multiple cores.
  • Existing protocols like Silo, TicToc, MOCC, ERMIA, and Cicada fail to commit the L1 transaction, with abort rates below 1%.
  • Under high skew (above 0.7), Oze's graph size increases dramatically, causing throughput to drop by an order of magnitude.
  • Propagation overhead becomes the dominant cost in Oze as graph size grows, highlighting the need for advanced garbage collection in future work.
  • The BoMB benchmark successfully captures real-world manufacturing workloads, including dynamic BoM updates and interdependent cost calculations.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.