What is stored in redis is the scheduled task of celery, so does redis need to be persisted?

Hello, everyone
I am a novice

I think running redis, in docker is very convenient for development and deployment
I recently made a website that used redis and celery

but I am worried that docker restart or physical machine restart will cause redis to lose data

is it necessary to persist redis?

what is the best solution for persistence

Mar.25,2021

Redis can be placed outside the container, installed directly on the physical machine, and then RDB, AOF

Menu