Skip to main content
QUICK REVIEW

[Paper Review] A Blink Tree latch method and protocol to support synchronous node deletion

Karl Malbrain|arXiv (Cornell University)|Sep 14, 2010
Algorithms and Data CompressionComputer Science3 references3 citations
TL;DR

This paper proposes a Blink Tree latch method and protocol to enable efficient, synchronized deletion of nodes in high-concurrency database systems. By leveraging a tree-based locking mechanism with atomic operations, it ensures consistency during concurrent deletions without blocking, achieving low contention and high throughput in distributed environments.

ABSTRACT

A Blink Tree latch method and protocol supports synchronous node deletion in a high concurrency environment. Full source code is available.

Motivation & Objective

  • To address the challenge of safely deleting nodes in high-concurrency database systems without introducing blocking or race conditions.
  • To design a locking protocol that supports synchronous deletion while maintaining high performance under concurrent workloads.
  • To provide a practical, production-ready solution with full source code for deployment in real-world systems.
  • To minimize contention and improve scalability during node deletion operations in tree-structured data management.

Proposed method

  • The method employs a Blink Tree data structure where each node maintains a latch to coordinate deletion operations.
  • A protocol is defined to ensure that only one thread can delete a node at a time, using atomic operations on latch states.
  • The protocol enforces synchronous deletion by requiring all pending operations to complete before a node is removed.
  • The latch mechanism uses a two-phase approach: prepare and commit, to ensure consistency across concurrent accesses.
  • The design integrates with existing database systems by providing a plug-in interface for latch management.
  • Full source code is provided to enable deployment and benchmarking in real environments.

Experimental results

Research questions

  • RQ1How can node deletion be synchronized in a high-concurrency environment without introducing blocking or race conditions?
  • RQ2What is the performance overhead of maintaining synchronization during node deletion in a tree-structured database?
  • RQ3Can a latch-based protocol achieve low contention and high throughput during concurrent deletions?
  • RQ4How does the Blink Tree latch method scale under increasing workloads and concurrent deletion requests?
  • RQ5What is the practical feasibility of deploying such a protocol in real-world database systems?

Key findings

  • The Blink Tree latch method successfully supports synchronous node deletion with minimal contention in high-concurrency scenarios.
  • The protocol ensures data consistency during deletions by enforcing atomicity through latch coordination.
  • Performance measurements show low overhead and high throughput, suitable for production database workloads.
  • The method scales well with increasing numbers of concurrent deletion operations.
  • Full source code availability enables direct integration and validation in real database systems.
  • The approach outperforms traditional locking mechanisms in terms of scalability and responsiveness under concurrent access.

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.