Ben Manes
Ben Manes
Thanks. I’ll close this as no longer blocking.
@bpfoster yeah, pre-AOT this was a neat trick because unloaded classes are basically free (just a little extra disk space). Thus, we could code generate the cache and the entry...
I have most of this ready in the v3.dev branch. I'll try to wrap up the unit tests this weekend, as I need to also cover when the `Expiry` fails...
Actually that policy they use is called W-TinyLFU and it's documented on this [wiki](https://github.com/moka-rs/moka/wiki) as a future feature. Their implementation has a few gaps that ideally would be addressed, -...
s3fifo does poorly in db, search, analytics, etc. and unable to cope with varying workloads. It’s very good for blob key-value stores like a cdn, but that’s on par with...
oh, I periodically do a github-wide search on keywords and look at recent activity. That was originally to try to get api feedback by seeing what problems users ran into,...
Not sure if this idea is helpful, but here's another technique that I was playing with a few years ago when exploring latency-aware caching. In those scenarios the hit /...
In https://github.com/quarkusio/quarkus/issues/10420#issuecomment-654483795, @Sanne suggested an API to "warmup" with so that the AOT could determine which classes to include. I'm not sure how to implement this so if someone more...
fyi, in JCache you have to enable stats as part of the cache configuration. For Caffeine, if using the [config file](https://github.com/ben-manes/caffeine/blob/5898d5b6fb29cf62c29c9dac6d0b098999dc9931/jcache/src/main/resources/reference.conf#L58-L59), ```hocon caffeine.jcache.default.monitoring.statistics = true ``` where `default` is the...
The cache primarily tries to capture statistics that users couldn't easily obtain themselves, like the hit rate and number of evictions, and anything else of interest can be added by...