System and method for generating and using a dynamic bloom filter
Abstract
A dynamic Bloom filter comprises a cascaded set of Bloom filters. The system estimates or guesses a cardinality of input items, selects a number of hash functions based on the desired false positive rate, and allocates memory for an initial Bloom filter based on the estimated cardinality and desired false positive rate. The system inserts items into the initial Bloom filter and counts the bits set as they are inserted. If the number of bits set in the current Bloom filter reaches a predetermined target, the system declares the current Bloom filter full. The system recursively generates additional Bloom filters as needed for items remaining after the initial Bloom filter is filled; items are checked to eliminate duplicates. Each of the set of Bloom filters is individually queried to identify a positive or negative in response to a query. When the system is configured such that the false positive rate of each successive Bloom filter is decreased by one half, the system guarantees a false positive rate of at most twice the desired false positive rate.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 9 · Forward citations: 20.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method of implementing a dynamic Bloom filter comprised of one or more filters, the method comprising: generating the dynamic Bloom filter according to the following steps: initializing a filter counter to zero; setting a filter capacity indicator to a value of true; while an input item is available, if the filter capacity indicator is true then, incrementing the filter counter by one; allocating a memory for a current filter based upon a cardinality estimate and a false positive rate; determining a number of bits to be set for the input item based upon the false positive rate for the curren
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (15 of 20 total)
References Cited — Backward Prior Art (9)
Non-Patent Literature (4)
- Michael Mizenmacher, "Compressed Bloom Filters", Harvard University, IEEE/ACM Transactions on Networking, vol. 10, No. 5, Oct. 2002.
- Patrick Reynolds and Amin Vahdat, "Efficient Peer-To-Peer Keyword Searching", Dept of Computer Science, Duke University, 2003.
- Purushottam Kulkarni, Prashant Shenoy, "Scalable Techniques for Memory-Efficient CDN Simulations", Dept of Computer Science, Univeristy of Massachusetts, May 20-24, 2003.
- Using Bloom Filters by Maciej Ceglowski dated Apr. 8, 2004-O'REILLY PERL.COM The Source for Perl.