Redis configuration – data management

To manage data in Redis, it's important to understand the application we are trying to build. Since the gossip server is meant to be a Config server, the reads are will be more than the writes. Redis provides a couple of data persistence mechanisms that we have already dealt with in the previous chapters, and the current section can act as a refresher. The mechanisms that Redis provides are the following:

  • The RDB option
  • The AOF option
  • VM over commit memory (LINUX environments only)

The RDB option

The RDB option provides a mechanism to take a snapshot of the data at regular intervals. Since this is a periodic activity, which dumps the data into the dump.rdb file, it makes it a good option to take data backups. For ...

Get Learning Redis now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.