Redis Roadmap 2026
Use Redis as cache, queue and data store: data types, persistence, replication, clustering and patterns.
4 stages · 8 units · Intermediate · about 40 hours · Last reviewed 19 November 2026
What is a redis?
Redis is an open-source, in-memory data store that holds keys mapped to rich data structures such as strings, hashes, lists, sets and sorted sets. Because data lives in RAM, reads and writes are very fast. It is widely used as a cache, session store, rate limiter, message broker and lightweight database.
Step-by-step redis roadmap
- 1
Data Types
Beginner · about 12 hours
Core commands.
- Basics
Redis basics are the core commands and data types you use to store and read values by key. Strings, hashes, lists and sets cover most simple needs, and key naming, expiry with EXPIRE and TTL, and atomic operations like INCR round out the toolkit. Everything else in Redis builds on these commands.
- Advanced Types
Redis advanced types and features go beyond simple keys: bitmaps, HyperLogLog, geospatial indexes and sorted sets for specialised work, plus MULTI/EXEC transactions, optimistic locking with WATCH, and Lua scripts. These tools let you do counting, ranking and multi-step updates atomically inside the server.
- Basics
- 2
Patterns
Intermediate · about 12 hours
What Redis is used for.
- Application Patterns
Redis application patterns are the standard ways a backend uses Redis: caching, rate limiting and session storage. Caching uses expiry and invalidation to protect a database, rate limiters use counters or sorted sets with time windows, and sessions store login state under a token key with a TTL.
- Messaging
Messaging in Redis means passing data between processes using pub/sub, lists and streams, and coordinating work across servers. Pub/sub broadcasts messages without storing them, while streams keep an append-only log with consumer groups. Distributed locks and similar tools help several services agree on who does a task.
- Application Patterns
- 3
Reliability
Intermediate · about 9 hours
Persistence and scale.
- Durability
Redis durability describes how data survives restarts and failures, through persistence on disk and replication to other nodes. RDB takes point-in-time snapshots, AOF logs every write, and replicas copy data from a primary. Redis Sentinel can detect a failed primary and promote a replica automatically.
- Scaling
Scaling Redis means spreading data and load across several nodes. Redis Cluster does this by splitting the keyspace into 16384 hash slots assigned to primary nodes, each with replicas for failover. Clients route commands to the right node, and multi-key operations need keys that share a slot.
- Durability
- 4
Operations and Security
Advanced
Run it.
- Operations
Redis operations is the work of keeping a Redis server healthy in production. It centres on monitoring memory use, hit rate, latency, connected clients and replication lag with INFO, SLOWLOG and metrics exporters, and on controlling memory with maxmemory and eviction policies before the server runs out.
- Security
Redis security is the set of settings that stop unauthorised access to a server. Core measures are binding to private interfaces, requiring authentication, using ACL users with limited commands, enabling TLS, and restricting dangerous commands. A Redis instance exposed to the internet without these controls is a common cause of breaches.
- Operations
Frequently asked questions
Ready to practise for interviews?
Practise redis questions with an AI mock interviewer and get feedback on your answers.