I am looking to store JSON blobs in AWS S3. I want to serve these blobs via a restful API to maintain high availability.
I want to find what would be the best way to do this with a memory store in a spring boot application, and whether what I am thinking is a good idea or not.
I am thinking of this approach, because my dataset is small, and I do not expect a lot of writes.
In case of writes, my application will update the S3 object(s). Then, S3 will invoke a lambda to send a message to Kafka, which will then have all the spring boot application pods in K8s refreshed with the changes.