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: 16.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method of generating and using a dynamic Bloom filter that includes a plurality of Bloom filters implemented with a processor that includes a memory, comprising: allocating a memory for a first Bloom filter based upon a cardinality estimate, wherein the cardinality is a number of distinct values for a multi-set; receiving an input item into the first Bloom filter, wherein the input item is the multi-set; for the input item into the first Bloom filter, determining a number bits to be set for the input item based on a false positive rate of the first Bloom filter; determining whether the first
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 16 total)
References Cited — Backward Prior Art (9)
Non-Patent Literature (5)
- Ceglowski, Macief, Using Bloom Filters, O'Reilly Peri.com, the Source for Perl, Apr. 8, 2004.
- Ceglowski, Macief, Using Bloom Filters, O'Reilly Perl.com, the Source for Perl, Apr. 8, 2004.
- Kulkarni, Purushottam, "Scalable Techniques for Memory-Efficient CDN Simulations 1", Department of Computer Science, University of Massachusetts, May 20-24, 2003, ACM 1-58113-680-3/03/0005.
- Mizenmacher, Michael, "Compressed Bloom Filters", Harvard University, Aug. 26-29, 2001, PODC '01 Proceedings of the twentieth annual ACM symposium on Principles of distributed computing.
- Reynolds, Patrick, Efficient Peer-to-Peer Keyword searching, Dept. of Computer Science, Duke University, Jun. 16-20, 2003, Middleware '03 Proceedings of the ACM/IFIP/USENIX 2003 International Conference on Middleware.