|
|
|
|
|
by gopalv
2265 days ago
|
|
> Do you think Xor filter would be a better fit compared to Bloom here? The 8byte key is the only scenario where you should consider XorPlus (i.e a 8 bytes mapped to a long). The lookup properties of the Xor filter are better with that case, but the real question is whether you have an entire collection to start building the bitset or not. The sketch production isn't incremental - there is no add(k) after building it once. So you can't build add data once it is built, while the Bloom filters do support adding entries after the fact (in fact, it can add bloom filters into it, rather than sending all the new keys). And both of those approaches are missing an unset operation. |
|
Yes insertion/deletion is required and the frequency may be higher. The exact usecase is that group membership is dependent on some conditions. We schedule this check every 15 minutes and based on it, we are adding/deleting the members.