February 2018
Intermediate to advanced
382 pages
11h 33m
English
In the Getting ready section, we disabled AOF persistence and cleared all the data in Redis. Re-enabling AOF persistence after that created an empty AOF file. Please note, we have to disable AOF persistence first before flushing the data, otherwise the AOF file will not be empty unless we run AOF rewrite.
In step 3, we issued seven commands to manipulate Redis keys:
When we opened the AOF file for inspection, we found that the file contents seemed to be the Redis commands we just executed, in the RESP format as we introduced in the Understanding Redis protocol recipe of Chapter 1, Getting Started with Redis.
There are two exceptions:
Read now
Unlock full access