Closed herywang closed 3 months ago
This is where other libraries make sense, for example MapDB, ehcache, or frameworks like Infinispan. Or you can layer Caffeine above a disk store like RocksDB as a lookaside cache. MySQL has a memcached mode for a persistent remote cache.
It’s out of scope to offer this feature directly.
Okay, I got it. Thank you for your answer.
Hello guys, we have a scene in which the object is very large, I am not sure the
caffeine cache
could cache those large objects to the local disk.When I use Guava Cache or Hutool Cache, I have to control cache capacity when the object is large because it is easy to have an OutOfMemoryException.
I urgently hope there is a cache tool that can achieve the above feature. If
Caffeine
doesn't have this feature, can I contribute this feature to Caffeine?