CaffeineCache should be using blocking instead of delay
froth opened this issue · 1 comments
froth commented
Caffeine is based on ConcurrentHashMap which uses locks when writing and therefore at least the write operations can lead to blocking the current thread. Therefore from my understanding it should be wrapped in blocking
instead of delay
.
kastoestoramadus commented
here is written Caffeine as non-blocking:
https://blog.frankel.ch/choose-cache/2/