Lune

VLDB2026顶会

CounterSnake: A lossless and generalized compression framework for diverse sketches

Xunpeng Liu, Qun Huang, Yaojing Wang, Lihua Miao, Chen Sun

摘要

Sketches are vital for large-scale stream analytics. However, they often use fixed-size counters, which remain underutilized, especially under skewed data distributions. Prior solutions to address this inefficiency compromise on accuracy, real-time operations, or generality, which limits their applicability. In this paper, we propose CounterSnake, a novel hierarchical compression framework that reduces the memory consumption of sketch counters. Compared with existing efforts, CounterSnake is the first one to fulfill four key requirements: (1) zero counter error, (2) bounded latency, (3) full counter interfaces, and (4) efficient multi-sketch optimization. The key idea is to dynamically link overflowing counters across layers to form variable-size logical counters. Besides, we design techniques such as tag-based linking, d-way mapping, sign-bit encoding, and virtual-counter abstraction to address the four requirements. We also theoretically derive its memory and time complexities under justified assumptions. Experiments against six SOTA solutions demonstrate up to several orders of accuracy improvements and comparable operation throughput. We also thoroughly evaluate CounterSnake and other frameworks, showing that CounterSnake is the only one that fulfills all the requirements.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

可以从这些问题问起

Lune 可以查阅

全文 · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • BurstSketch: Finding Bursts in Data Streams 引用了 WavingSketch: An Unbiased and Generic Sketch for Finding Top-k Items in Data Streams
  • Stingy Sketch: A Sketch Framework for Accurate and Fast Frequency Estimation 引用了 WavingSketch: An Unbiased and Generic Sketch for Finding Top-k Items in Data Streams
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

它引用的 Paper20

  1. WavingSketch: An Unbiased and Generic Sketch for Finding Top-k Items in Data StreamsJizhou Li, Zikun Li, Yifei Xu, Shiqi Jiang 等KDD 2020 · 96 次引用
  2. Toward Nearly-Zero-Error Sketching via Compressive SensingQun Huang, Siyuan Sheng, Xiang Chen, Yungang Bao 等NSDI 2021 · 82 次引用
  3. BurstSketch: Finding Bursts in Data StreamsZheng Zhong, Shen Yan, Zikun Li, Decheng Tan 等SIGMOD 2021 · 58 次引用
  4. Stingy Sketch: A Sketch Framework for Accurate and Fast Frequency EstimationHaoyu Li, Qizhi Chen, Yixin Zhang, Tong Yang 等VLDB 2022 · 54 次引用
  5. DHS: Adaptive Memory Layout Organization of Sketch Slots for Fast and Accurate Data Stream ProcessingBohan Zhao, Xiang Li, Boyu Tian, Zhiyu Mei 等KDD 2021 · 47 次引用

相关 Paper

  1. Sublime: Sublinear Error & Space for Unbounded Skewed StreamsNavid Eslami, Ioana O. Bercea, Rasmus Pagh, Niv DayanSIGMOD 2026
  2. BitMatcher: Bit-level Counter Adjustment for SketchesQilong Shi, Chengjun Jia, Wenjun Li, Zaoxing Liu 等ICDE 2024 · 22 次引用
  3. BitSense: Universal and Nearly Zero-Error Optimization for Sketch Counters with Compressive SensingRui Ding, Shibo Yang, Xiang Chen, Qun HuangSIGCOMM 2023 · 25 次引用
  4. Single Update Sketch with Variable Counter StructureDimitrios Melissourgos, Haibo Wang, Shigang Chen, Chaoyi Ma 等VLDB 2023 · 16 次引用
  5. AlignSketch: A Framework for Aligning Theoretical and Practical Estimation ErrorsCe Zheng, Hanyue Zheng, Jingwei Shi, Xinye Xu 等ICDE 2026
黄昏的海面,两侧是细线勾勒的悬崖