I Introduction
Burton Howard Bloom introduces a data structure on approximate membership query in 1970 [1], hence, it is named as Bloom Filter. Bloom Filter is an extensively experimented to enhance a system’s performance since its inception. Moreover, Bloom Filter is also applied numerous areas, namely, Big Data, Cloud Computing, Networking, Security [2], Database, IoT, Bioinformatics, Biometrics, and Distributed system. However, Bloom Filter is inapplicable in hard realtime system, and password management system [3] due to accuracy issues. Applications of Bloom Filter take the lion’s share in Computer Networking which includes Named Data Networking (NDN), ContentCentric Networking (CCN), Softwaredefined Network (SDN), Domain Name System (DNS), and Computer Security. The Bloom Filter reduces space consumption in an order of magnitude as compared to a conventional hash algorithm. However, Bloom Filter cannot stand itself. Bloom Filter is used as enhancer of a system. For example, BigTable uses Bloom Filter to reduce the number of disk accesses which improves the performance drastically [4]. Similarly, in Cassandra [5].
Ia Motivation
Several variants of Bloom Filters have been developed to address some issues [6]. However, most of the Bloom Filters are developed to address scalability issue. Guanlin Lu et al. [7] proposes a Foreststructured Bloom Filter (FBF). The FBF is a combination of RAM and flash memory. Similarly, Debnath et al. [8] develops a very high scalable Bloom Filter based on RAM and flash memory. BloomStore is also another highly scalable Bloom Filter [9]. However, these solutions are hierarchical, and thus, lookup and insertion cost is very high. It takes time complexity in insertion and lookup operations as demonstrated in Table I.
IB Contribution
Name  Types  Insertion  Lookup  Scalability  Platform  Algorithm 

BloomFlash [8]  Hierarchical  Logarithmic  Logarithmic  High  RAM & Flash  Serial 
FBF [7]  Hierarchical  Logarithmic  Logarithmic  High  RAM & Flash  Serial 
BloomStore [9]  Linear Chaining  Constant  Constant  High  RAM & Flash  Parallel 
TBF [10]  Hierarchical  Logarithmic  Logarithmic  Medium  RAM  Parallel 
Bloofi [11]  Hierarchical  Logarithmic  Logarithmic  Medium  RAM  Serial 
scaleBF  3D  Constant  Constant  High  RAM  Serial 
To address scalability issues, we propose a novel scalable Bloom Filter, called scaleBF. scaleBF is a very simple data structure yet powerful. scaleBF increases its scalability without compromising the performance. scaleBF takes time complexity in lookup and insertion operations, which is compared in Table I. scaleBF uses chaining hash data structure for implementing the scalability. Also, scaleBF deploys 3DBF [12] to inherit the performance and low memory consumption.
Table I depicts the most scalable Bloom Filters. BloomFlash [8], and FBF [7] uses hierarchical structures to indexed the Bloom Filters. BloomStore [9] uses linear chain data structure (not open hashing data structure) to store the Bloom Filters in Flash memory. Moreover, BloomStore is designed to perform parallel lookup operation. On the contrary, scaleBF uses chaining hash data structures to achieve higher scalability without compromising the performances. TBF [10] deploys treebitmaps and Bloom Filter, and used for name lookup in ContentCentric Network (CCN). The input is split into a Tsegment of fixed size and a BSegment of variable size. The Tsegment key is inserted into bitmaptrie, and the Bsegment is inserted into Bloom Filter. However, maintaining trie data structure is costly in terms of space as well as time. On the other hand, Bloofi [11] uses tree structured Bloom Filter which cuases costly in insertion and lookup. The scalability of BloomFlash [8], FBF [7], BloomStore [9], scaleBF is higher than TBF and Bloofi [11].
IC Organization
The article is organized as follows Section II presents the proposed system, called scaleBF. The architecture of scaleBF is demonstrated in Section II. Section III presents a theoretical analysis on scaleBF. Also, every aspect of scaleBF is analyzed in Section III. Article discusses cons of scaleBF in Section IV. Finally, the article is concluded in Section V.
Ii scaleBF: The Proposed System
Iia 3D Bloom Filter (3DBF)
The 3Dimensional Bloom Filter (3DBF) is similar to conventional Bloom Filter except array structure [12]. The 3DBF uses 3D arrays and it is a static Bloom Filter in nature. The static Bloom Filter does not change the size at run time. Also, static Bloom Filter does not readjust with ever growing data. However, a new 3DBF is created to address the scalability issue.
Figure 1 depicts the architecture of 3DBF. The 3D Bloom Filter uses four modulus operator using prime numbers instead of hashing a key into
different places. These modulus reduces the false positive probability. Thus, 3DBF is independent from number of hash functions
. Let, bet the 3DBF where and be the dimension of the filter. The dimensions are prime numbers, otherwise, false positive increases. Let, be a cell of the 3DBF. The cell stores long int which occupies . Let us insert a key . The 3DBF uses Murmur hashing [13] to generate a hashvalue of input item . Let, be the generated hashvalue by Murmur hashing. Now, , and , where is the bit position of the cell . 3DBF sets a bit using Equation (1)(1) 
where is bitwise OR operator. Equation (1) is invoked to insert an input item into 3DBF. The lookup operation requires similar calculation. Equation (2) is invoked to perform the lookup operation in a 3DBF.
(2) 
If is assigned by ‘1’, then 3DBF returns true, otherwise, it returns false. Each item requires a single bit in 3DBF as disclosed in Equation (1), and each cell has . Therefore, 3DBF consumes the lowest memory as compared to other variants of Bloom Filter. Moreover, 3DBF features detection of the fullness of the filter. 3DBF defines the criticality factor to consider whether the filter is full or not [12].
IiB Insertion operation in scaleBF
scaleBF deploys chaining mechanism of conventional hashing data structure for highly scalable. scaleBF deploys many 3DBFs.
IiB1 Insertion of Bloom Filter
A Bloom Filter is formed by three 3DBFs. Each Bloom Filter is formed by three 3DBF. However, Bloom Filter can be formed by augmenting more 3DBF, but we have chosen three for simpler illustration. Each key is inserted into three 3DBF. Let, be the chain size, and input item to be inserted. There are chains in scaleBF. A new Bloom Filter (three 3DBF) is inserted into the chain if the Bloom Filter (three 3DBF) in particular chain is full.
IiB2 Insertion of a Key
Insertion of the key is performed using Equation (1) and hashes the key into the particular chain. If a Bloom Filter (three 3DBF) size is full, then move to the last Bloom Filter (three 3DBF). Insert the key using Equation (1). A key is hashed into particular slot of the chain. There are many Bloom Filters in the particular slot linked with each other as shown in Figure 2. If first three Bloom Filter is full, then create and link three 3DBF as demonstrated in the figure.
IiC Lookup operation in scaleBF
Figure 3 depicts the lookup operations of the scaleBF. A key is hashed into particular chain and lookup all Bloom Filters sequentially. As a comparison, three 3DBF is searched. If the first three Bloom Filter returns true, then the key is member of Bloom Filter. Otherwise, move forward to the next three 3DBF, and so on.
Iii Analysis
There is no significant difference between 3DBF and conventional Bloom Filter analysis of number bits consumed, except in 3DBF. Therefore, scaleBF is analyzed through the conventional Bloom Filter. Let, be the size of Bloom Filter, be the number of entries, and be the number of hash function, then the probability of a bit to be ‘0’ is
Therefore, probability of total bit to be ‘1’ is
Since, scaleBF uses 3DBF, thus, . F. Grandi [14] present a new way to calculate the false positive probability using . Let,
be the random variable to represent the total number of ‘1’ in the Bloom Filter, then
The probability of false positive is conditioned to a number by , then
Therefore, false positive probability is
where is probability mass function of . F. Grandi [14] applies to calculate and presents as follows
(3) 
Equation 3 is calculation of false positive probability of a 3DBF. scaleBF deploys three 3DBF. Therefore, the false positive probability of a Bloom Filter having three 3DBF is
(4) 
Let, there are Bloom Filter (three 3DBF each), and their false positive probabilities are , where . From Equation (4), the average false positive probability of scaleBF is
(5) 
Equation (5) presents the false positive probability of scaleBF.
Iiia Scalability
Scalability is the key barrier to the modern Bloom Filter. There are numerous Bloom Filter that addresses the scalability issue. However, scalable Bloom Filters are developed based on reordering, hierarchical and forest structure. scaleBF uses simple hashing scheme to enhance the scalability of Bloom Filter. The chaining is the most used hashing data structure. However, chaining has linear search in the worst case, i.e., time complexity. In other words, all keys are hashed into single chain location. However, it is once in a blue moon in realworld. Besides, most of the chain remains unused. Therefore, the chaining size must be a prime number to avoid the above situation.
Undoubtedly, the scalability is achieved using chaining data structure in scaleBF. The RAM size of the system also plays a vital role in scaleBF. 3DBF allocates memory dynamically which requires few memory blocks be contiguous to satisfy the request by the most modern programming language. Therefore, there is less worry about the unavailability of memory blocks. However, scaleBF does not guarantee the availability of the memory.
Let, be the slot size and be the number of chains to be stored in chaining. The load factor , where is a prime number, and is the total Bloom Filter to be inserted. Therefore,
(6) 
where is the size of 3DBF. Then, the load factor becomes
(7) 
The total available bits in scaleBF are
(8) 
where is the threshold that depends on the requirements, , and are the dimensions. The is calculated by and be the number of bits per cell in a 3DBF [12]. For high accuracy, is set to . However, defines that false positive is insignificance.
IiiB Time and Space Complexity
The time complexity is also a key barrier in the scalable Bloom Filter. Hierarchical Bloom Filter or Forest Structured Bloom Filter takes time complexity in lookup and insertion operation. Other variants of scalable Bloom Filters also decrease the performance. scaleBF uses time complexity to lookup and insertion operation on an average case. However, the worst case time complexity is and it is impractical.
Let, a key to be inserted into scaleBF. The is hashed into a particular slot of chain and insert into the key in desired Bloom Filter (three 3DBF). If the first Bloom Filter is full, then move to the next and so on. Let, the maximum, the size of a particular chain is . scaleBF uses prime number to evenly distribute the keys as disclosed in Equation (7). Thus, the size of is small. Let us, there are slots empty even if prime number . That is, slots are filled. Then, each slot has at least of which is also very small. However, the is a prime number, and thus, the distribution is fair enough to fill each slot. Thus, is very small and the total time complexity is on an average. Similarly, lookup cost also on an average case.
IiiC Performance
scaleBF also inherits the performance of 3DBF [12]. The insertion and lookup cost depends on the cost of Equation (1) and (2). Equation (1) and (2) uses Murmur hashing [13], which is known as a very fast string hashing. The computational complexity of Murmur hashing is , since, the length of a string is constant and small. Therefore, the Equation (1) and (2) also cost time complexity. 3DBF enhances the performance by reducing the total number of complex arithmetic operations. Thus, scaleBF increase its scalability without compromising the performance.
Iv Discussion
scaleBF provides impressively very high scalability. However, the initial cost of memory consumption can be high. For instance, insert a key which mapped to the slot of chaining, and creates new three 3DBF. Another insertion key also triggers creation of new three 3DBF which is mapped into a slot, say 2. Thus, the initial cost of memory is high. However, scaleBF is ideal for very large scale membership filtering. Moreover, scaleBF also ideal solution of large memory allocation due to dynamic memory allocation system. scaleBF also depends on the size of 3DBF.
V Conclusion
Deduplication requires very high scalable Bloom Filter, since, deduplication processes trillions of keys. Moreover, there are diverse applications of high scalable Bloom Filter, for instance, DNA Assembly. In this paper, we have presented a very high scalable Bloom Filter without comprising the performances. In addition, scaleBF also provides insertion and lookup cost of . scaleBF outperforms Bloofi [11], BloomFlash [8], FBF [7], and TB2F [10] in terms of computational time complexity while maintaining higher scalability. However, the scaleBF does not support deletion of an item. Thus, there is no false negative. Interestingly, scaleBF can be applied many research areas to boost up the performance and scalability, and its applicability not limited to NDN, but also Big Data, Cloud Computing, Database, Distriubuted System, IoT, and Computer Networking.
References
 [1] B. H. Bloom, “Space/time tradeoffs in hash coding with allowable errors,” Commun. ACM, vol. 13, no. 7, pp. 422–426, 1970.
 [2] R. Patgiri, S. Nayak, and S. K. Borgohain, “Preventing ddos using bloom filter: A survey,” EAI Endorsed Transactions on Scalable Information Systems, 2018.
 [3] A. Broder and M. Mitzenmacher, “Network applications of bloom filters: A survey,” Internet mathematics, vol. 1, no. 4, pp. 485–509, 2004.
 [4] F. Chang, J. Dean, S. Ghemawat, W. C. Hsieh, D. A. Wallach, M. Burrows, T. Chandra, A. Fikes, and R. E. Gruber, “Bigtable: A distributed storage system for structured data,” ACM Trans. Comput. Syst., vol. 26, no. 2, pp. 4:1–4:26, 2008.
 [5] A. Lakshman and P. Malik, “Cassandra: A decentralized structured storage system,” SIGOPS Oper. Syst. Rev., vol. 44, no. 2, pp. 35–40, 2010.

[6]
R. Patgiri, S. Nayak, and S. K. Borgohain, “Shed more light on bloom filter’s
variants,” in
Proceedings of the 2018 International Conference on Information and Knowledge Engineering
. CSREA Press, 2018, pp. 14–21.  [7] G. Lu, B. Debnath, and D. H. C. Du, “A foreststructured bloom filter with flash memory,” in 2011 IEEE 27th Symposium on Mass Storage Systems and Technologies (MSST), 2011, pp. 1–6.
 [8] B. Debnath, S. Sengupta, J. Li, D. J. Lilja, and D. H. C. Du, “Bloomflash: Bloom filter on flashbased storage,” in 2011 31st International Conference on Distributed Computing Systems, 2011, pp. 635–644.
 [9] G. Lu, Y. J. Nam, and D. H. C. Du, “Bloomstore: Bloomfilter based memoryefficient keyvalue store for indexing of data deduplication on flash,” in 2012 IEEE 28th Symposium on Mass Storage Systems and Technologies (MSST), 2012, pp. 1–11.
 [10] W. Quan, C. Xu, A. V. Vasilakos, J. Guan, H. Zhang, and L. A. Grieco, “Tb2f: Treebitmap and bloomfilter for a scalable and efficient name lookup in contentcentric networking,” in 2014 IFIP Networking Conference(IFIP NETWORKING), vol. 00, 2014, pp. 1–9.
 [11] A. Crainiceanu and D. Lemire, “Bloofi: Multidimensional bloom filters,” Information Systems, vol. 54, pp. 311 – 324, 2015.
 [12] R. Patgiri, S. Nayak, and S. K. Borgohain, “rDBF: A rdimensional bloom filter for massive scale membership query,” Journal of Network and Computer Applications, vol. Personal communication.
 [13] A. Appleby, “Murmurhash,” Retrieved on August 2018 from https://sites.google.com/site/murmurhash/, 2018.
 [14] F. Grandi, “On the analysis of bloom filters,” Information Processing Letters, vol. 129, pp. 35 – 39, 2018.
Comments
There are no comments yet.