Oracle Corporation
Reader Bias Based Locking Technique Enabling High Read Concurrency For Read-Mostly Workloads

Last updated:

Abstract:

A data object has a lock and a condition indicator associated with it. Based at least partly on detecting a first setting of the condition indicator, a reader stores an indication that the reader has obtained read access to the data object in an element of a readers structure and reads the data object without acquiring the lock. A writer detects the first setting and replaces it with a second setting, indicating that the lock is to be acquired by readers before reading the data object. Prior to performing a write on the data object, the writer verifies that one or more elements of the readers structure have been cleared.

Status:
Application
Type:

Utility

Filling date:

21 Oct 2021

Issue date:

10 Feb 2022