Can I use Spring Data Redis for updating Spring Boot application running on multiple pods in EKS cluster ?
abhishekjoy1 opened this issue · 1 comments
Hi, I am new to Spring Data Redis. Actually, I am working on a Spring boot application, where my requirement is something like the following:
On update of certain DB tables through an API, I would like to publish and "REFRESH" event to REDIS. I have 3 pods in the AWS EKS cluster and in each of the POD, my Spring Boot application is running. So, I would like each of these PODs will receive the event and refresh beans associated with the table.
I have been able to achieve this by running a scheduler at a fixed rate inside the application instance running on each POD, which is working fine.
But I would like to do this in an event-triggered way. So in this context, I found Spring Data Redis. But I am not sure, it would suffice my purpose.
Could anyone please help here with some pointers? Thanks.
That question is better asked on Stack Overflow, which the Spring Redis experts monitor.