...

/

Redis: Persistence

Redis: Persistence

Let’s discuss how Redis stores data on hard disk.

Redis is an in-memory database, which means the data is stored in memory(RAM). In the case of a server crash, all the data stored in the memory is lost. To prevent this, Redis has some mechanism in place to back up the data on the disk. In case of a failure, the data can be loaded from the disk to the memory when the ...