skip to Main Content

How to use Redis as L2 cache on Hibernate?

I have a spring boot application and need to setup Redis as l2 cache on hibernate. My prop file looks like: spring.jpa.properties.hibernate.cache.region.factory_class = package.CustomRegionFactory spring.jpa.properties.hibernate.cache.redisson.fallback=false I created a custom region factory because I don't want to use json or yaml…

VIEW QUESTION

Redis cache for news articles

I have a bunch of news articles (~100k at the moment). Every article can be connected with more than one category. So I have two keys article URL and category. I need to store this articles in Redis and need…

VIEW QUESTION
Back To Top
Search