Posts

Showing posts from 2022

Does Bloom Filter is the efficient Data Structure for large DataBase Lookup?

Image
Happy to see all the software enthusiastic landing to this post to know about Bloom Filter. There are various Data Structures available but what depends is the use case for which a particular Data structure will serve the purpose efficiently.  Recently I was going through the Data structure to quickly lookup the database content and explored many props and conclusions of various data structures according to my requirement. During the process, I heard about "Bloom Filter", an efficient data structure for a database lookup. As the name suggests it is primarily targeted to filter out some set of lists.  Similarly, like other Data Structures Bloom Filter also has some disadvantages. Before diving into this let's understand the logic behind this. The core logic is to get a hash from the input data and set a bit in the bit array while inserting data into the list. When lookup generates the hash key and checks the bit, if it is set, then data is present. for example, if we are s