Lune

ICDE2023Top-tier venue

HyperCalm Sketch: One-Pass Mining Periodic Batches in Data Streams

Zirui Liu, Chaozhe Kong, Kaicheng Yang, Tong Yang, Ruijie Miao, Qizhi Chen, Yikai Zhao, Yaofeng Tu, Bin Cui

Abstract

Batch is an important pattern in data streams, which refers to a group of identical items that arrive closely. We find that some special batches that arrive periodically are of great value. In this paper, we formally define a new pattern, namely periodic batches. A group of periodic batches refers to several batches of the same item, where these batches arrive periodically. Studying periodic batches is important in many applications, such as caches, financial markets, online advertisements, networks, etc. We propose a one-pass sketching algorithm, namely the HyperCalm sketch, which takes two phases to detect periodic batches in real time. In phase 1, we propose a time-aware Bloom filter, namely HyperBloomFilter (HyperBF), to detect the start of batches. In phase 2, we propose an enhanced top-k algorithm, called Calm Space-Saving (CalmSS), to report topk periodic batches. We theoretically derive the error bounds for HyperBF and CalmSS. Extensive experiments show HyperCalm outperforms the strawman solutions 4× in term of average relative error and 13.2× in term of speed. We also apply HyperCalm to a cache system and integrate HyperCalm into Apache Flink. All related codes are open-sourced 1 .

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

5 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Measuring Item Freshness in Data Streams cites CAFE: Towards Compact, Adaptive, and Fast Embedding for Large-scale Recommendation Models
  • Measuring Item Freshness in Data Streams cites Out of Many We are One: Measuring Item Batch with Clock-Sketch
  • KVSAgg: Secure Aggregation of Distributed Key-Value Sets cites WavingSketch: An Unbiased and Generic Sketch for Finding Top-k Items in Data Streams
  • KVSAgg: Secure Aggregation of Distributed Key-Value Sets cites Out of Many We are One: Measuring Item Batch with Clock-Sketch
  • CAFE: Towards Compact, Adaptive, and Fast Embedding for Large-scale Recommendation Models cites WavingSketch: An Unbiased and Generic Sketch for Finding Top-k Items in Data Streams
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers5

  1. CAFE: Towards Compact, Adaptive, and Fast Embedding for Large-scale Recommendation ModelsHailin Zhang, Zirui Liu, Boxuan Chen, Yikai Zhao et al.SIGMOD 2024 · 15 citations
  2. KVSAgg: Secure Aggregation of Distributed Key-Value SetsYuhan Wu, Siyuan Dong, Yi Zhou, Yikai Zhao et al.ICDE 2023 · 8 citations
  3. ChainedFilter: Combining Membership Filters by Chain RuleHaoyu Li, Liuhui Wang, Qizhi Chen, Jianan Ji et al.SIGMOD 2024 · 5 citations
  4. FreewayML: An Adaptive and Stable Streaming Learning Framework for Dynamic Data StreamsZheng Qin, Zheheng Liang, Lijie Xu, Wentao Wu et al.ICDE 2025 · 2 citations
  5. Measuring Item Freshness in Data StreamsZirui Liu, Zihan Jiang, An Zhang, Zhouran Shi et al.KDD 2025

Builds on10

  1. WavingSketch: An Unbiased and Generic Sketch for Finding Top-k Items in Data StreamsJizhou Li, Zikun Li, Yifei Xu, Shiqi Jiang et al.KDD 2020 · 96 citations
  2. SALSA: Self-Adjusting Lean Streaming AnalyticsRan Ben Basat, Gil Einziger, Michael Mitzenmacher, Shay VargaftikICDE 2021 · 45 citations
  3. A Learned Sketch for Subgraph CountingKangfei Zhao, Jeffrey Xu Yu, Hao Zhang, Qiyan Li et al.SIGMOD 2021 · 43 citations
  4. Out of Many We are One: Measuring Item Batch with Clock-SketchPeiqing Chen, Dong Chen, Lingxiao Zheng, Jizhou Li et al.SIGMOD 2021 · 35 citations
  5. A Sketch-based Index for Correlated Dataset SearchAécio S. R. Santos, Aline Bessa, Christopher Musco, Juliana FreireICDE 2022 · 31 citations

Related papers

  1. PeriodicSketch: Finding Periodic Items in Data StreamsZhuochen Fan, Yinda Zhang, Tong Yang, Mingyi Yan et al.ICDE 2022 · 25 citations
  2. Scout Sketch: Finding Promising Items in Data StreamsTianyu Ma, Guoju Gao, He Huang, Yu-e Sun et al.INFOCOM 2024 · 4 citations
  3. PBSketch: Finding Periodic Burst Items in Data StreamsZhuochen Fan, Zhongxian Liang, Zirui Liu, Dayu Wang et al.KDD 2026
  4. BurstSketch: Finding Bursts in Data StreamsZheng Zhong, Shen Yan, Zikun Li, Decheng Tan et al.SIGMOD 2021 · 58 citations
  5. Finding Simplex Items in Data StreamsZhuochen Fan, Jiarui Guo, Xiaodong Li, Tong Yang et al.ICDE 2023 · 9 citations
Dusk over the sea between two cliffs drawn in fine vertical lines