Jiffy: a lock-free skip list with batch updates and snapshots
Tadeusz Kobus, Maciej Kokocinski, Pawel T. Wojciechowski
Abstract
In this paper we introduce Jiffy, the first lock-free, linearizable ordered key-value index that offers both (1) batch updates, which are put and remove operations that are executed atomically, and (2) consistent snapshots used by, e.g., range scan operations. Jiffy is built as a multiversioned lock-free skip list and relies on CPU's Time Stamp Counter register to generate version numbers at minimal cost. For faster skip list traversals and better utilization of the CPU caches, key-value entries are grouped into immutable objects called revisions. Moreover, by changing the size of revisions and thus modifying the synchronization granularity, our index can adapt to varying contentions levels (smaller revisions are more suited for write-heavy workloads whereas large revisions benefit readdominated workloads, especially when they feature many range scan operations). Structure modifications to the index, which result in changing the size of revisions, happen through (lock-free) skip list node split and merge operations that are carefully coordinated with the update operations. Despite rich semantics, Jiffy offers highly scalable performance, which is comparable or exceeds the performance of the state-of-the-art lock-free ordered indices that feature linearizable range scan operations. Compared to its (lockbased) rivals that also support batch updates, Jiffy can execute large batch updates up to 7.4× more efficiently.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 4e86c0fb-2c26-4d39-bb84-286fbabe2e00Cited by top-tier papers2
- Practically and Theoretically Efficient Garbage Collection for MultiversioningYuanhao Wei, Guy E. Blelloch, Panagiota Fatourou, Eric RuppertPPoPP 2023 · 1 citation
- Arctic: A Practical Lock-Free Adaptive Radix TreeNewton Ni, Nicolas Garza, Jenny Stinehour, Michael Goppert et al.OSDI 2026
Related papers
- Bundling linked data structures for linearizable range queriesJacob Nelson-Slivon, Ahmed Hassan, Roberto PalmieriPPoPP 2022 · 11 citations
- LoLKV: The Logless, Linearizable, RDMA-based Key-Value Storage SystemAhmed Alquraan, Sreeharsha Udayashankar, Virendra J. Marathe, Bernard Wong et al.NSDI 2024 · 5 citations
- Lock-free Concurrent Level Hashing for Persistent MemoryZhangyu Chen, Yu Hua, Bo Ding, Pengfei ZuoUSENIX ATC 2020 · 98 citations
- Cuckoo Trie: Exploiting Memory-Level Parallelism for Efficient DRAM IndexingAdar Zeitak, Adam MorrisonSOSP 2021 · 13 citations
- Scalable range locks for scalable address spaces and beyondAlex Kogan, Dave Dice, Shady IssaEuroSys 2020 · 4 citations
