krakend / bloomfilter

Bloomfilter written in Golang, includes rotation and RPC
Apache License 2.0
78 stars 15 forks source link

Question: Why rotation bucket in Bloom filters? Is there a plan to introduce sliding buckets so as to manage retention of keys? #19

Closed rnbokade closed 1 year ago

rnbokade commented 1 year ago

I mean this would actually make sense.... For example if my access token is valid only for 3 days, it doesn't make any sense to keep having it in the filter for more than 3 days since anyway it is going to expire after that time.

alombarte commented 1 year ago

Hi @rnbokade ,

Apologies, but I don't understand your question. If I can improve the documentation I will.

An entry lives in the bloomfilter twice the bloomfilter TTL.

rnbokade commented 1 year ago

Thanks and sorry. I didn't see that documentation. It is indeed well documented