Open szuecs opened 5 years ago
Pre: we need to have caching implemented as a filter
Background: https://danluu.com/2choices-eviction/ 2 random choice seems promising Other algorithms could be random or https://github.com/ben-manes/caffeine/wiki/Efficiency
we can consider this as well: https://godoc.org/github.com/aryszka/forget
I implemented it with Skipper in mind, but then the immediate use case got irrelevant.
Pre: we need to have caching implemented as a filter
Background: https://danluu.com/2choices-eviction/ 2 random choice seems promising Other algorithms could be random or https://github.com/ben-manes/caffeine/wiki/Efficiency