Abstract
Detecting periodic burst (PB) items in data streams is crucial for applications like rate limiting but remains unexplored. % While combining existing sketch algorithms offers a baseline, it suffers from significant inaccuracy and inefficiency. In this paper, we propose PBSketch, the first dedicated sketch algorithm designed for detecting PB items in real time. Its key techniques mainly include: 1) a two-stage hierarchical structure that efficiently maintains potential burst items and discards those without potential; 2) a fine-grained PB selection mechanism during window processing, coupled with the Window Smoothing Processing optimization to amortize performance overhead and eliminate processing spikes. % We provide its error bounds through rigorous theoretical analysis. Our extensive experiments show that PBSketch outperforms the baseline solution in accuracy and speed. By deploying it on an FPGA platform, the throughput is further significantly improved. Moreover, it effectively optimizes a practical application of rate limiting, clearly improving performance with almost negligible overhead.
Funding Information
  • the national key Research and Development Program of China (2025YFE0200100)
  • the Strategic Research Project of Peng Cheng Laboratory (2025QYB004)
  • the Major Key Project of Peng Cheng Laboratory (PCL2025A07)
  • the Young Top-notch Talent Project of Guangdong Province (2023TQ07X362)
  • The National Natural Science Foundation of China (62402012, 62102203)