Replies: 3 comments 1 reply
-
Thanks @proost, this looks great! |
Beta Was this translation helpful? Give feedback.
0 replies
-
Close due to #519 |
Beta Was this translation helpful? Give feedback.
0 replies
-
Can anyone help me with a penetration test? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Summary
Adding Counting Bloom Filter to
rueidisprob
. Counting Bloom Filter is used to check whether data is in Redis or main storage and can sync with main storage.Problem Definitions
Background
Bloom Filter is intended for solving cache penetration issue. Counting Bloom Filter can also solve cache penetration issue too. But Bloom Filter cannot remove items. So it is possible to inconsistency between bloom filter and main storage. For example, when items are hard-deleted from main storage or items are removed due to TTL. In these cases, we should handle it instead of resetting whole filter.
Features
Plan
API Design
Detailed Design
I use 2 data structures.
{name}:c
name
is a namespace for Counting Bloom Filter. And It is given by user when constructing Counting Bloom Filter.{name}:bf
name
is a namespace for Counting Bloom Filter. And It is given by user when constructing Counting Bloom Filter.AddMulti
RemoveMulti
ExistsMulti
Delete
Count
GET
command to counterBeta Was this translation helpful? Give feedback.
All reactions