- An in-memory database (often shortened to IMDB) which stores data using the main memory of a machine as the primary storage facility, rather than storing the data on a disk as in a typical disk-optimized database.
- Redis can store a mapping of keys to values (Key-Value Store) and can even achieve similar performance levels as memcached.
- Redis supports the writing of its data to disk
- Redis has two different forms of writing in-memory data to disk in a compact format:
- point-in-time dump (snapshot): when certain conditions are met (a number of writes in a given period) or when one of the two dump-to-disk commands is called
- append-only file: writes every command that alters data in Redis to disk as it happens