Saved in:
Bibliographic Details
Main Authors: Dozier, Kahlil, Salamatian, Loqman, Rubenstein, Dan
Format: Preprint
Published: 2024
Subjects:
Online Access:https://arxiv.org/abs/2401.02647
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866909091146760192
author Dozier, Kahlil
Salamatian, Loqman
Rubenstein, Dan
author_facet Dozier, Kahlil
Salamatian, Loqman
Rubenstein, Dan
contents Bloom Filters are a space-efficient data structure used for the testing of membership in a set that errs only in the False Positive direction. However, the standard analysis that measures this False Positive rate provides a form of worst case bound that is both overly conservative for the majority of network applications that utilize Bloom Filters, and reduces accuracy by not taking into account the actual state (number of bits set) of the Bloom Filter after each arrival. In this paper, we more accurately characterize the False Positive dynamics of Bloom Filters as they are commonly used in networking applications. In particular, network applications often utilize a Bloom Filter that "recycles": it repeatedly fills, and upon reaching a certain level of saturation, empties and fills again. In this context, it makes more sense to evaluate performance using the average False Positive rate instead of the worst case bound. We show how to efficiently compute the average False Positive rate of recycling Bloom Filter variants via renewal and Markov models. We apply our models to both the standard Bloom Filter and a "two-phase" variant, verify the accuracy of our model with simulations, and find that the previous analysis' worst-case formulation leads to up to a 30\% reduction in the efficiency of Bloom Filter when applied in network applications, while two-phase overhead diminishes as the needed False Positive rate is tightened.
format Preprint
id arxiv_https___arxiv_org_abs_2401_02647
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Technical Report: Modeling Average False Positive Rates of Recycling Bloom Filters
Dozier, Kahlil
Salamatian, Loqman
Rubenstein, Dan
Data Structures and Algorithms
Bloom Filters are a space-efficient data structure used for the testing of membership in a set that errs only in the False Positive direction. However, the standard analysis that measures this False Positive rate provides a form of worst case bound that is both overly conservative for the majority of network applications that utilize Bloom Filters, and reduces accuracy by not taking into account the actual state (number of bits set) of the Bloom Filter after each arrival. In this paper, we more accurately characterize the False Positive dynamics of Bloom Filters as they are commonly used in networking applications. In particular, network applications often utilize a Bloom Filter that "recycles": it repeatedly fills, and upon reaching a certain level of saturation, empties and fills again. In this context, it makes more sense to evaluate performance using the average False Positive rate instead of the worst case bound. We show how to efficiently compute the average False Positive rate of recycling Bloom Filter variants via renewal and Markov models. We apply our models to both the standard Bloom Filter and a "two-phase" variant, verify the accuracy of our model with simulations, and find that the previous analysis' worst-case formulation leads to up to a 30\% reduction in the efficiency of Bloom Filter when applied in network applications, while two-phase overhead diminishes as the needed False Positive rate is tightened.
title Technical Report: Modeling Average False Positive Rates of Recycling Bloom Filters
topic Data Structures and Algorithms
url https://arxiv.org/abs/2401.02647