Skip to content

Glossary: Redis and Caching

Basic Redis commands (SET, GET, DEL, EXISTS, PING, MSET, MGET)

Also written: SET, GET, DEL, EXISTS, PING, PONG, MSET, MGET

`SET` saves a value under a key and `GET` reads it back (`(nil)` if missing). `DEL` deletes keys, `EXISTS` counts which keys exist, `PING` answers `PONG` to show the server is there, and `MSET`/`MGET` set or read several keys at once.

Where the book teaches it

Related terms

Stringredis-cliKey-value store