Lune

SODA2020顶会

Flushing Without Cascades

Michael A. Bender, Rathish Das, Martin Farach-Colton, Rob Johnson, William Kuszmaul

摘要

Buffer-and-flush is a technique for transforming standard external-memory search trees into write-optimized search trees. In exchange for faster amortized insertions, buffer-and-flush can sometimes significantly increase the latency of operations by causing cascades of flushes. In this paper, we show that flushing cascades are not a fundamental consequence of the buffer-flushing technique, and can be removed entirely using randomization techniques. The underlying implementation of buffer flushing relies on a buffer-eviction strategy at each node in the tree. The ability for the user to select the buffer eviction strategy based on the workload has been shown to be important for performance, both in theory and in practice. In order to support arbitrary buffer-eviction strategies, we introduce the notion of a universal flush, which uses a universal eviction policy that can simulate any other eviction policy. This abstracts away the underlying eviction strategy, even allowing for workload-specific strategies that change dynamically. Our deamortization preserves the amortized throughput of the underlying flushing strategy on all workloads. In particular, with our deamortization and a node cache of size poly-logarithmic in the number of insertions performed on the tree, the amortized insertion cost matches the lower bound of Brodal and Fagerberg. For typical parameters, the lower bound is less than 1 I/O per insertion. For such parameters, our worst-case insertion cost is O(1) I/Os.

问 Lune

几分钟看清这篇 Paper 的位置,不用再花一下午。

Lune 能读引用它和与它最相关的顶会 Paper,讲清它说了什么、后来怎样、哪里站不住,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 2 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

摘要 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper2

  1. External Memory Fully Persistent Search TreesGerth Stølting Brodal, Casper Moldrup Rysgaard, Rolf SvenningSTOC 2023 · 2 次引用
  2. How asymmetry helps buffer management: achieving optimal tail size in cup gamesWilliam KuszmaulSTOC 2021

相关 Paper

  1. Buffered Persistence in B+ TreesMingzhe Du, Michael L. ScottSIGMOD 2025 · 3 次引用
  2. Non-blocking interpolation search trees with doubly-logarithmic running timeTrevor Brown, Aleksandar Prokopec, Dan AlistarhPPoPP 2020 · 29 次引用
  3. DFlush: DPU-Offloaded Flush for Disaggregated LSM-based Key-Value StoresChen Ding, Kai Lu, Quanyi Zhang, Zekun Ye 等SIGMOD 2025 · 7 次引用
  4. Bf-Tree: A Modern Read-Write-Optimized Concurrent Larger-Than-Memory Range IndexXiangpeng Hao, Badrish ChandramouliVLDB 2024 · 14 次引用
  5. Breaking Down Memory Walls: Adaptive Memory Management in LSM-based Storage SystemsChen Luo, Michael J. CareyVLDB 2021 · 20 次引用
黄昏的海面,两侧是细线勾勒的悬崖