r/SpringBoot • • Oct 30 '26

Discussion Write-back caching in Redis using Spring Boot?

I was wondering if how would y'all write a write-back (or write-behind) caching in Spring Boot, particularly using redis. I couldn't quite look for a more decent implementation especially for production. Would you mind helping a spring boot newbie out? Thanks yall.

2 Upvotes

5 comments sorted by

View all comments

Show parent comment

2

u/TaySwen Oct 30 '26

This. I was doing a poc and had to use Redis Stream and batches to the Db and the trade-off is real