Replies: 5 comments 12 replies
-
Hi @proost, Your intention is good. But there are a couple of things we need to consider:
|
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
Getting bigger than i expected. if package name is this time adds standard bloom filter and then counting bloomf filter. if someone needs something else, at that time implments count-min sketch, hyperloglog, etc. |
Beta Was this translation helpful? Give feedback.
-
Close due to #493 I will send a Counting Bloom Filter design soon |
Beta Was this translation helpful? Give feedback.
-
Summary
Adding
rueidisbloom
package that supports Bloom Filter withrueidis
.Motivation
Recently, I experienced the cache penetration issue. I mitigated the issue caching empty object instead of missing value. But using null object pattern has two problems.
So if redis stores bloom filter about all data and sync with primary db, user pre-filters requests which will be sent to primary db.
If using RedisBloom, the issue is solved. but someone like me who can’t use Redis Stack, can’t solve issue easily. if
rueidisbloom
supports bloom filter, users like me solve cache penetration issue with low effort.Goals
Non-Goals
Plan
I will use 128bits hashes and use murmurhash3 algorithm. Mostly I will refer codes here to make hashes.
Bitmaps is used for Internal data structure
Beta Was this translation helpful? Give feedback.
All reactions