Skip to main content
Cornell University
We gratefully acknowledge support from the Simons Foundation, member institutions, and all contributors. Donate
arxiv logo > cs > arXiv:1605.04292

Help | Advanced Search

arXiv logo
Cornell University Logo

quick links

  • Login
  • Help Pages
  • About

Computer Science > Databases

arXiv:1605.04292 (cs)
[Submitted on 13 May 2016 (v1), last revised 4 May 2017 (this version, v5)]

Title:Efficiently making (almost) any concurrency control mechanism serializable

Authors:Tianzheng Wang, Ryan Johnson, Alan Fekete, Ippokratis Pandis
View a PDF of the paper titled Efficiently making (almost) any concurrency control mechanism serializable, by Tianzheng Wang and Ryan Johnson and Alan Fekete and Ippokratis Pandis
View PDF
Abstract:Concurrency control (CC) algorithms must trade off strictness for performance. Serializable CC schemes generally pay higher cost to prevent anomalies, both in runtime overhead and in efforts wasted by aborting transactions. We propose the serial safety net (SSN), a serializability-enforcing certifier which can be applied with minimal overhead on top of various CC schemes that offer higher performance but admit anomalies, such as snapshot isolation and read committed. The underlying CC retains control of scheduling and transactional accesses, while SSN tracks the resulting dependencies. At commit time, SSN performs an efficient validation test by examining only direct dependencies of the committing transaction to determine whether it can commit safely or must abort to avoid a potential dependency cycle.
SSN performs robustly for various workloads. It maintains the characteristics of the underlying CC without biasing toward certain types of transactions, though the underlying CC might. Besides traditional OLTP workloads, SSN also allows efficient handling of heterogeneous workloads with long, read-mostly transactions. SSN can avoid tracking the majority of reads (thus reducing the overhead of serializability certification) and still produce serializable executions with little overhead. The dependency tracking and validation tests can be done efficiently, fully parallel and latch-free, for multi-version systems on modern hardware with substantial core count and large main memory.
We demonstrate the efficiency, accuracy and robustness of SSN using extensive simulations and an implementation that overlays snapshot isolation in ERMIA, a memory-optimized OLTP engine that is capable of running different CC schemes. Evaluation results confirm that SSN is a promising approach to serializability with robust performance and low overhead for various workloads.
Subjects: Databases (cs.DB)
Cite as: arXiv:1605.04292 [cs.DB]
  (or arXiv:1605.04292v5 [cs.DB] for this version)
  https://doi.org/10.48550/arXiv.1605.04292
arXiv-issued DOI via DataCite
Related DOI: https://doi.org/10.1007/s00778-017-0463-8
DOI(s) linking to related resources

Submission history

From: Tianzheng Wang [view email]
[v1] Fri, 13 May 2016 19:14:52 UTC (1,572 KB)
[v2] Sat, 1 Oct 2016 17:56:31 UTC (1,274 KB)
[v3] Fri, 9 Dec 2016 20:43:23 UTC (1,520 KB)
[v4] Tue, 7 Feb 2017 02:26:09 UTC (563 KB)
[v5] Thu, 4 May 2017 14:54:53 UTC (1,476 KB)
Full-text links:

Access Paper:

    View a PDF of the paper titled Efficiently making (almost) any concurrency control mechanism serializable, by Tianzheng Wang and Ryan Johnson and Alan Fekete and Ippokratis Pandis
  • View PDF
  • TeX Source
  • Other Formats
view license
Current browse context:
cs.DB
< prev   |   next >
new | recent | 2016-05
Change to browse by:
cs

References & Citations

  • NASA ADS
  • Google Scholar
  • Semantic Scholar

DBLP - CS Bibliography

listing | bibtex
Tianzheng Wang
Ryan Johnson
Alan Fekete
Ippokratis Pandis
a export BibTeX citation Loading...

BibTeX formatted citation

×
Data provided by:

Bookmark

BibSonomy logo Reddit logo

Bibliographic and Citation Tools

Bibliographic Explorer (What is the Explorer?)
Connected Papers (What is Connected Papers?)
Litmaps (What is Litmaps?)
scite Smart Citations (What are Smart Citations?)

Code, Data and Media Associated with this Article

alphaXiv (What is alphaXiv?)
CatalyzeX Code Finder for Papers (What is CatalyzeX?)
DagsHub (What is DagsHub?)
Gotit.pub (What is GotitPub?)
Hugging Face (What is Huggingface?)
Papers with Code (What is Papers with Code?)
ScienceCast (What is ScienceCast?)

Demos

Replicate (What is Replicate?)
Hugging Face Spaces (What is Spaces?)
TXYZ.AI (What is TXYZ.AI?)

Recommenders and Search Tools

Influence Flower (What are Influence Flowers?)
CORE Recommender (What is CORE?)
  • Author
  • Venue
  • Institution
  • Topic

arXivLabs: experimental projects with community collaborators

arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.

Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.

Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.

Which authors of this paper are endorsers? | Disable MathJax (What is MathJax?)
  • About
  • Help
  • contact arXivClick here to contact arXiv Contact
  • subscribe to arXiv mailingsClick here to subscribe Subscribe
  • Copyright
  • Privacy Policy
  • Web Accessibility Assistance
  • arXiv Operational Status
    Get status notifications via email or slack