2. Journaling - It is also known as AOF(Append Only File ) In this method it maintains the record of all the write operations used in Redis in a log file and use that file to restore the required state.
#SoftwareEngineering#development#Redis#database
Ever Wondered Since @Redisinc is an in-memory data store used for caching, it can act as a database as well. How? It is because of the data persistence it provides. But main memory is volatile so how Redis is making its data persistent ? Lets find out in this thread..
Basically it uses two techniques to achieve that
1. Snapshotting - It takes snapshots at some time interval and store the file know as RDB and whenever the machine is restarted it takes backup from those snapshot file.