首页> 外国专利> Reader bias based locking technique enabling high read concurrency for read-mostly workloads

Reader bias based locking technique enabling high read concurrency for read-mostly workloads

机译:基于读取的基于偏置锁定技术,实现高读取的并发性以获取读取的工作负载

摘要

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.
机译:数据对象具有锁定和与其相关联的条件指示符。 基于至少部分地基于检测条件指示符的第一设置,读取器存储读者已经获得了对读取器结构的元素中的数据对象的读取访问,并且在不获取锁定的情况下读取数据对象。 写入器检测到第一个设置并用第二个设置替换它,指示在读取数据对象之前读取器被读取的锁定。 在对数据对象上执行写入之前,编写器验证已清除读取器结构的一个或多个元素。

著录项

  • 公开/公告号US11170816B2

    专利类型

  • 公开/公告日2021-11-09

    原文格式PDF

  • 申请/专利权人 ORACLE INTERNATIONAL CORPORATION;

    申请/专利号US202017020655

  • 发明设计人 DAVID DICE;ALEX KOGAN;

    申请日2020-09-14

  • 分类号G11B27/36;G11B20/10;G11C16/26;G06F16/23;G06F9/52;G06F16/43;

  • 国家 US

  • 入库时间 2022-08-24 22:08:32

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号