Introduction

Check this Redis cheat sheet https://quickref.me/redis.html .

Redis is an open-source in-memory data structure store written in C language and used as a database, cache, message broker, and streaming engine.

Redis clients are available for widely used programming languages such as JAVA, Python, NodeJS, PHP, Golang etc.

It’s a key-value store that functions as a data structure server.

Redis provides data structures such as strings, hashes, lists, sets, sorted sets with range queries, bitmaps, hyperloglogs, geospatial indexes, and streams.

Redis's popularity is as a database, a cache, and a message broker in modern cloud architecture and so is a popular choice for caching, session management, gaming, leader boards, real-time analytics, geospatial, ride-hailing, chat/messaging, media streaming, and pub/sub apps.

Most database storage occurs on disk or on SSDs. As such, database operations require a round trip to disk. In contrast in-memory data resides in the server’s RAM, is not subjected to the same constraints, provides sub-millisecond response times, and thus supports magnitudes more operations.

To give you a few examples of Redis memory footprint (all obtained using 64-bit instances):