- 专利标题: Reader bias based locking technique enabling high read concurrency for read-mostly workloads
-
申请号: US18174520申请日: 2023-02-24
-
公开(公告)号: US11972777B2公开(公告)日: 2024-04-30
- 发明人: David Dice , Alex Kogan
- 申请人: Oracle International Corporation
- 申请人地址: US CA Redwood City
- 专利权人: Oracle International Corporation
- 当前专利权人: Oracle International Corporation
- 当前专利权人地址: US CA Redwood City
- 代理机构: Kowert, Hood, Munyon, Rankin & Goetzel, P.C.
- 代理商 Robert C. Kowert
- 主分类号: G11B20/10
- IPC分类号: G11B20/10 ; G06F9/52 ; G06F16/23 ; G11B20/18 ; G11C16/26
摘要:
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.
公开/授权文献
信息查询