Lightweight Latches for B-Trees to Cope with High Contention

Amir El-Shaikh*, Bernhard Seeger, Eljas Soisalon-Soininen

*Corresponding author for this work

Research output: Chapter in Book/Report/Conference proceedingConference article in proceedingsScientificpeer-review

Abstract

B-trees are ubiquitous for many users to store and retrieve large amounts of data concurrently. Concurrency control protocols are introduced to guarantee the physical consistency of B-trees and a high degree of parallelism without any deadlocks. Recently, various optimistic protocols like optimistic lock coupling and hybrid locking coupling have been shown to achieve a higher degree of parallelism compared to standard lock-based protocols. However, the overhead of these optimistic approaches increases for workloads with high and skewed contention. These workloads are very common for near-sorted data inputs, e.g., data streams with a certain degree of out-of-order arrivals where insertions hit only a small fraction of the leaves. Based on these optimistic approaches, this paper presents two novel optimistic concurrency protocols designed for workloads with high local contention. In case of conflicts, these protocols offer a substantially lower overhead than their previous optimistic counterparts and, thus, a higher degree of parallelism. The results of a comprehensive experimental performance comparison show the advantages of our proposed protocols as a function of contention.

Original languageEnglish
Title of host publicationDatabase and Expert Systems Applications - 35th International Conference, DEXA 2024, Proceedings
EditorsChristine Strauss, Toshiyuki Amagasa, Giuseppe Manco, Gabriele Kotsis, Ismail Khalil, A Min Tjoa
PublisherSpringer
Pages217-232
Number of pages16
ISBN (Print)978-3-031-68311-4
DOIs
Publication statusPublished - 2024
MoE publication typeA4 Conference publication
EventInternational Conference on Database and Expert Systems Applications - Naples, Italy
Duration: 26 Aug 202428 Aug 2024
Conference number: 35

Publication series

NameLecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
Volume14911 LNCS
ISSN (Print)0302-9743
ISSN (Electronic)1611-3349

Conference

ConferenceInternational Conference on Database and Expert Systems Applications
Abbreviated titleDEXA
Country/TerritoryItaly
CityNaples
Period26/08/202428/08/2024

Keywords

  • B-trees
  • Concurrency
  • Contention
  • Latches

Fingerprint

Dive into the research topics of 'Lightweight Latches for B-Trees to Cope with High Contention'. Together they form a unique fingerprint.

Cite this