Open vtolstov opened 6 years ago
Sadly ARC is patented. CLOCK-Pro or TinyLFU are both patent-free, faster, and give higher hit ratios.
I have implementations here: https://github.com/dgryski/go-clockpro and https://github.com/dgryski/go-tinylfu
Thanks! i'm try to check you links
@dgryski sadly this packages not provide onEvict interface to notify about evicted items =(
Patches accepted :D
I've added two issues (one for go-tinylfu
, one for go-clockpro
) to add OnEvict
handlers.
Thanks!
Does it possible to create ARC cache implementation?