Concurrent reads and inserts into a data structure without latching or waiting by readers
Abstract
A method includes performing, by a data structure processor, concurrent read and write operations into a hierarchical data structure. Writers acquire latches on the hierarchical data structure elements that the latches modify. The hierarchical data structure elements are directly accessed by readers without acquiring latches. A modify operation is executed by a writer for one or more levels of the hierarchical data structure. When removed portions of the hierarchical data structure are no longer referenced, tracking is performed by use of a combination of a global state value and a copied local state value. The global state value transitions through a non-repeating sequence of values. No longer referenced portions of the hierarchical data structure are tagged with the current global state value.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 50 · Forward citations: 1.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method comprising: performing, by a data structure processor, concurrent read and write operations into a hierarchical data structure; acquiring latches, by writers, on the hierarchical data structure elements that the writers modify; directly accessing the hierarchical data structure elements by readers without acquiring latches; executing a modify operation by a writer for one or more levels of the hierarchical data structure, wherein the modify operation comprises performing a lookup into a parent node for determining a child node to modify, the child node including a linked list, and the
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (1 of 1 total)
| Patent | Title | Year | Citations |
|---|---|---|---|
| EP 4,592,843 A1 | Non-locking recovery of epoch-based memory resources | — | 0 |
References Cited — Backward Prior Art (50)
Non-Patent Literature (5)
- Anonymous, “CashMap: Processor Cache-Aware Implementation of Hash Tables”, Jul. 5, 2013, pp. 1-7, ip.com, United States.
- Anonymous, “Efficient Grouping Over Joins of Compressed Tables”, Apr. 6, 2010, pp. 1-6, ip.com, United States.
- Anonymous, “High Performance Technique Using Join Collocation in a Massively Parallel Processing Relational Database Implementation”, Jun. 14, 2012, pp. 1-5, ip.com, United States.
- Anonymous, “System and Method for Usage Aware Row Storage in Database Systems”, Jul. 23, 2010, pp. 1-4, ip.com United States.
- Areias, M. et al., “A Simple and Efficient Lock-Free Hash Trie Design for Concurrent Tabling”, Theory and Practice of Logic Programming, May 14, 2014, pp. 1-10, Arxiv.org, Cornell University Library, United States.