Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reduce DB size with bloom filter #24

Open
gwillem opened this issue Apr 2, 2024 · 0 comments
Open

Reduce DB size with bloom filter #24

gwillem opened this issue Apr 2, 2024 · 0 comments

Comments

@gwillem
Copy link
Contributor

gwillem commented Apr 2, 2024

Have ran some benchmarks, a Binary Fuse filter (0.3% FPs) is the fastest (6ns bf lookup vs 14ns per map lookup) and smallest (~25% of orig []uint64 size) with our dimension data.

2022 article: http://arxiv.org/abs/2201.01174
Go Library: https://github.com/FastFilter/xorfilter

Benefit: we don't have to rebuild hashes, as we can populate it with the existing hash db.
However, corediff now needs to deal with two types of databases, of which one is immutable. Requires some refactoring of the checkPath function.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant