面向滑动窗口成员查询的受保护纪元布隆过滤器
Guarded Epoch Bloom Filters for Sliding-Window Membership
AI总结:
提出受保护纪元布隆过滤器,通过划分比特预算、旋转纪元并引入保护纪元,实现滑动窗口内确定性存活覆盖和有限过期保留,在14比特/存活项下将假阳性率从0.191降至0.02225且零假阴性。
摘要:
流中的近似成员查询通常需要最近窗口语义,而非对所有已见项的成员查询。本文研究了受保护纪元布隆过滤器,它是计数和稳定布隆过滤器的滑动窗口替代方案。该结构将固定比特预算划分为旋转纪元,仅插入当前纪元,在纪元边界清除整个段,并保留一个额外的保护纪元。该保护纪元产生一个确定性的存活窗口不变性:在最后W个位置插入的每个项仍然被表示,而旋转导致的过期保留被限制在目标窗口之外的一个纪元内。我们给出了构造,证明了其存活覆盖和有界过期属性,推导了假阳性近似,并包含一种阻塞变体,通过将探测限制在每个纪元一个块来改善局部性。实验涵盖了225种合成流配置和45种来自时间戳排序的Web服务器访问日志流的配置。在每存活项14比特下,受保护纪元过滤器将合成中位假阳性率从四比特计数布隆基线的0.191降至0.02225,同时保持测量的存活键假阴性为零。该方法不能替代精确删除;它针对的是系统中可接受有界过期阳性但存活窗口内不允许假阴性的场景。
英文摘要:
Approximate membership queries in streams often need recent-window semantics rather than membership over all items ever seen. This paper studies guarded epoch Bloom filters, a sliding-window alternative to counting and stable Bloom filters. The structure partitions a fixed bit budget into rotating epochs, inserts only into the current epoch, clears whole segments at epoch boundaries, and keeps one additional guard epoch. This guard yields a deterministic live-window invariant: every item inserted in the last W positions remains represented, while rotation-induced stale retention is bounded by one epoch beyond the target window. We give the construction, prove its live-coverage and bounded-staleness properties, derive a false-positive approximation, and include a blocked variant that improves locality by confining probes to one block per epoch. Experiments cover 225 synthetic streaming configurations and 45 configurations from a timestamp-ordered web-server access-log stream. At 14 bits per live item, the guarded epoch filter reduces median synthetic false positives from 0.191 for a four-bit counting Bloom baseline to 0.02225 while preserving zero measured live-key false negatives. The method is not a replacement for exact deletion; it targets systems where bounded stale positives are acceptable but false negatives inside the live window are not.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。