Spring caffeine cache using size

84 Views Asked by At

So I have set up my spring boot service with caffeine cache. The service is deployed in a k8 cluster with a memory of 4Gi.

Now i want to store almost 300000 items in the inmemory cache, would this be doable using caffeine cache? Or maybe i should look at redis cache for this?

spring.cache.caffeine.spec=maximumSize=300000
0

There are 0 best solutions below