Pandora: An Efficient and Rapid Solution for Persistence-Based Tasks in High-Speed Data Streams
Weihe Li
Abstract
In data streams, persistence characterizes items that appear repeatedly across multiple non-overlapping time windows. Addressing persistence-based tasks, such as detecting highly persistent items and estimating persistence, is crucial for applications like recommendation systems and anomaly detection in high-velocity data streams. However, these tasks are challenging due to stringent requirements for rapid processing and limited memory resources. Existing methods often struggle with accuracy, especially given highly skewed data distributions and tight fastest memory budgets, where hash collisions are severe. In this paper, we introduce Pandora, a novel approximate data structure designed to tackle these challenges efficiently. Our approach incorporates the insight that items absent for extended periods are likely non-persistent, increasing their probability of eviction to accommodate potential persistent items more effectively. We validate this insight empirically and integrate it into our update strategy, providing better protection for persistent items. We formally analyze Pandora's error bounds to validate its theoretical soundness. Through extensive trace-driven tests, we demonstrate that Pandora achieves superior accuracy and processing speed compared to state-of-the-art methods across various persistence-based tasks. Additionally, we further accelerate Pandora's update speed using Single Instruction Multiple Data (SIMD) instructions, enhancing its efficiency in high-speed data stream environments. The code for our method is open-sourced.
Ask about this paper
Ask your agent about it.
Lune has read the top-tier papers around this one, so every answer names the papers it rests on.
Your agent calls
Lunesearch_papers
Free to start. No credit card required.
Terminal
Install the CLIlune papers get 3d4172b6-8ab7-48ad-bb03-11b9fb98c2fdRelated papers
- Pontus: A Memory-Efficient and High-Accuracy Approach for Persistence-Based Item Lookup in High-Velocity Data StreamsWeihe Li, Zukai Li, Beyza Bütün, Alec F. Diallo et al.WWW 2025 · 4 citations
- Hypersistent Sketch: Enhanced Persistence Estimation via Fast Item SeparationLu Cao, Qilong Shi, Weiqiang Xiao, Nianfu Wang et al.ICDE 2025 · 8 citations
- On-Off Sketch: A Fast and Accurate Sketch on PersistenceYinda Zhang, Jinyang Li, Yutian Lei, Tong Yang et al.VLDB 2021 · 63 citations
- Stable-Sketch: A Versatile Sketch for Accurate, Fast, Web-Scale Data Stream ProcessingWeihe Li, Paul PatrasWWW 2024 · 23 citations
- Lasso: Accurate and Efficient Detection of Long-Lived Sparse Items in High-Speed Data StreamsWeihe Li, Jiawei Huang, Zhaoyi Li, Tianyue Chu et al.KDD 2026
