skip to Main Content

Sharing Redis among services

I have a use case in which Microservice A has to do some heavy computation periodically and stores the result in Cache (redis) - something like k8s cron job. Microservice B depends on the Cache written by A.(B only reads.…

VIEW QUESTION

Using mongo and redis cache with both repositories in Spring Boot

I want to use both Redis and Mongo with repository manner (I do not want to use spring cache annotations but repository methods). I annotate the main class with the following annotations. @EnableMongoRepositories(basePackageClass = PersistencyRepository.class) @EnableRedisRepositories(basePackageClass = CacheRepository.class) @SpringBootApplication Repos…

VIEW QUESTION
Back To Top
Search