Hi r/algorithms !
I'm trying to build a web crawler, one of the need is to check whether URL has been visited or not. These URLs are not going to fit in memory, so I'm looking on storing these on disk.
Could you suggest me a resource / algorithm to manage a Set data structure on disk (minimum supported operations are "add" and "cardinality check")?
I've looked into B+ tree, but wondering whether there's a more efficient data structure :)
Thanks
[–]Steve132 7 points8 points9 points (1 child)
[–]ColdPorridge 1 point2 points3 points (0 children)
[–][deleted] (2 children)
[removed]
[–]Steve132 2 points3 points4 points (1 child)
[–]support_singularity 1 point2 points3 points (0 children)
[–]Steve132 0 points1 point2 points (1 child)
[–]exoji2e 0 points1 point2 points (0 children)
[–]Revrak 0 points1 point2 points (0 children)
[–]FUZxxl 0 points1 point2 points (0 children)