发明授权
- 专利标题: Lock-free transactional support for large-scale storage systems
- 专利标题(中): 无大规模存储系统的无锁交易支持
-
申请号: US13283543申请日: 2011-10-27
-
公开(公告)号: US08990177B2公开(公告)日: 2015-03-24
- 发明人: Flavio Junqueira , Benjamin Reed , Maysam Yabandeh
- 申请人: Flavio Junqueira , Benjamin Reed , Maysam Yabandeh
- 申请人地址: US CA Sunnyvale
- 专利权人: Yahoo! Inc.
- 当前专利权人: Yahoo! Inc.
- 当前专利权人地址: US CA Sunnyvale
- 代理机构: Hickman Palermo Truong Becker Bingham Wong LLP
- 主分类号: G06F17/30
- IPC分类号: G06F17/30
摘要:
Described is a reliable and efficient design for a transactional status oracle (“ReTSO”), which supports large-scale storage systems. ReTSO uses a centralized scheme and implements snapshot isolation, a property that guarantees that read operations read a consistent snapshot of the data store. The centralized scheme of ReTSO enables a lock-free commit algorithm that prevents unreleased locks of a failed transaction from blocking other transactions. Each transaction submits the identifiers of modified rows to the ReTSO, the transaction is committed only if none of the modified rows is committed by a concurrent transaction, and a log of the committed transaction is cached. To recover from failures, before a client is notified of a change, the change cached is first persisted into a write-ahead log, such that the memory state can be fully reconstructed by reading from the write-ahead log. Furthermore, ReTSO implements a lazy, auto-garbage collector hash map that reduces the number of memory accesses per request.
公开/授权文献
信息查询