
Explore redis through hands-on, practical exercises: run redis locally with docker, interact via the cli, and tackle real use cases to learn caching and in-memory databases.
Discover why Redis, an in-memory database, speeds caching, session storage, real-time counters, leaderboards, and message queues, while complementing durable databases for a seamless, fast architecture.
Set up redis with docker by pulling the official image, running a detached container on port 6379, and connecting via docker exec to the redis cli.
Explore strings in Redis, learning set and get, numeric increments and decrements, append operations, and expiration with ttl, plus efficient mset/mget for multi-key access.
Learn how Redis lists use LPUSH, RPUSH, LPOP, and RPOP to manage ordered collections. See how LRANGE and LLEN support queues and activity feeds with real-world examples.
Redis sets enforce uniqueness to track unique visitors and tags. Use sadd, set members, and s card to count, and apply intersection, union, and difference across pages A and B.
Explore Redis sorted sets for game leaderboards, using scores to rank players with zadd and zrange (and reverse ordering), and queries like zscore, zrange by score, zrem, and zincrby.
Explore redis hashes as native key-value structures that store fielded data under a single key, enabling efficient updates and retrievals of individual fields or full snapshots.
Explore Redis key expiration with ttl and pttl, applying expirations to any data type and using expire, ttl, pttl, and persist, including millisecond precision.
Explore how Redis stores data in memory and uses RDB snapshots and AOF logs to achieve durability, with a hybrid approach combining both strategies.
Master Redis monitoring in production by using info to inspect memory, CPU, and sections, and keys to query data; note monitor provides real-time visibility but is resource-intensive, best for development.
Review core Redis concepts and explore modules, clustering, replication, PubSub, and streams, while understanding how Redis fits with Postgres, MongoDB, Kafka, Docker, and AWS in a broader architecture.
Redis is one of the most widely used tools in modern backend development — yet it’s often misunderstood or used incorrectly.
In this hands-on course, you’ll learn Redis from the ground up, focusing on how it actually works, why it exists, and how it’s used in real-world applications. This is a no-slides course — everything is demonstrated live using Redis CLI, Docker, and real code examples, so you can follow along step by step.
We start with the fundamentals: what Redis is, how it differs from traditional databases, and when you should (and shouldn’t) use it.
Later, throughout the course, we’ll go beyond just basic key–value storage. We will see how to work with Redis strings, lists, hashes, sets, and sorted sets, and see how these data structures are used in real scenarios such as queues, leaderboards, and unique value tracking. We’ll also cover key expiration and TTLs and finally touch on the concept of persistence and basic monitoring.
This course is designed for beginners, backend developers, and anyone who wants to truly understand Redis instead of treating it like a black box.
By the end of the course, you’ll have a solid foundation in Redis and know how to confidently use it in your own projects.