Lune

KDD2025Top-tier venue

Measuring Item Freshness in Data Streams

Zirui Liu, Zihan Jiang, An Zhang, Zhouran Shi, Yuxuan Tian, Tong Yang

Abstract

This paper studies an unexplored attribute in data streams -item freshness. The freshness of an item refers to the time interval between its last arrival and the present moment. The information of item freshness is useful in various scenarios like cache, online advertising, computer network, etc. Currently, there is no algorithm tailored for estimating item freshness. We propose a theoretically guaranteed sketch algorithm called RingSketch, which integrates time-agnostic sketch algorithm with time-aware CLOCK algorithm for real-time freshness measurement. With the key idea of tracing the trajectory of the clock pointer, the estimation process of RingSketch is akin to observing the length of the growth rings in a tree trunk. We theoretically derive the average error of RingSketch and validate it with extensive experiments. The results show that RingSketch simultaneously achieves high accuracy (< 10 -3 average relative error) and fast update speed (> 11.4 𝑀/𝑠), outperforming the baseline solutions by at least 13.3× and 1.5× respectively. All codes are open-sourced at GitHub [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.

Questions to start from

Lune can draw on

the full paper · related work

Get the answer

Free to start. No credit card required.

Lineage

  • PeriodicSketch: Finding Periodic Items in Data Streams cites Out of Many We are One: Measuring Item Batch with Clock-Sketch
Builds onCited byLeft to right by year; the more cited, the higher.

Builds on12

  1. Toward Nearly-Zero-Error Sketching via Compressive SensingQun Huang, Siyuan Sheng, Xiang Chen, Yungang Bao et al.NSDI 2021 · 82 citations
  2. 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
  3. PeriodicSketch: Finding Periodic Items in Data StreamsZhuochen Fan, Yinda Zhang, Tong Yang, Mingyi Yan et al.ICDE 2022 · 25 citations
  4. On the algebra of data sketchesJakub LemieszVLDB 2021 · 21 citations
  5. P4LRU: Towards An LRU Cache Entirely in Programmable Data PlaneYikai Zhao, Wenrui Liu, Fenghao Dong, Tong Yang et al.SIGCOMM 2023 · 18 citations

Related papers

  1. Scout Sketch: Finding Promising Items in Data StreamsTianyu Ma, Guoju Gao, He Huang, Yu-e Sun et al.INFOCOM 2024 · 4 citations
  2. BFES: Towards Optimal Bayesian Frequency Estimation Sketches in Data-StreamsFrancesco Da Dalt, Adrian PerrigICDE 2025
  3. 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
  4. Convolution and Cross-Correlation of Count Sketches Enables Fast Cardinality Estimation of Multi-Join QueriesMike Heddes, Igor Nunes, Tony Givargis, Alex NicolauSIGMOD 2024 · 5 citations
  5. BurstSketch: Finding Bursts in Data StreamsZheng Zhong, Shen Yan, Zikun Li, Decheng Tan et al.SIGMOD 2021 · 58 citations
Dusk over the sea between two cliffs drawn in fine vertical lines