Using redis only as a cache without backend database


I intend to keep a track of a request field as a counter and thought to implement it with redis cache. I see most example using a backend database and so I am not sure if I intend to only use the caching, do i still need to have a backend database. I am doing this in spring boot.Any pointers or helpful links will be appreciated.


You can use Redis without any backend database. Redis by design is set as a cache a side to there is not direct link with a Database.