We have learned that, via persistence, Redis dumps its in-memory data to a file called dump.rdb by default. For beginners, it might be enough to understand the points mentioned in the previous recipe. For geeks who are eager to know more about how the RDB file works as a binary representation of Redis in-memory data, it's of great benefit to explore the RDB format. In this recipe, we will dig into the format of the RDB file to see what we can do with knowledge of the RDB format.
Exploring RDB
Getting ready…
You need to finish the installation of the Redis Server, as we described in the Downloading and installing Redis recipe in Chapter 1, Getting Started with Redis.
To inspect a binary file format, a binary...