Redis Tutorials
A full Redis course: strings, hashes, lists, sets, TTL, and common cache/session uses.
This course includes 14 lessons grouped from first steps to more capable workflows. Work through a group in order, or jump to the task you need today. Every lesson includes explanations, copyable examples, and tips written for beginners.
Cheatsheet · Search this course · IT & cloud category · All categories
Getting started
Topic page- What Is Redis?Learn what Redis is and why it is popular for caching and fast shared state.
- Installing RedisInstall Redis locally or run it in Docker and confirm the server responds.
- Using redis-cliTalk to Redis interactively with redis-cli and inspect keys safely.
- Keys and NamingName keys clearly with prefixes and avoid accidental collisions.
Data types
Topic page- StringsStore text and binary blobs, and use counters with INCR.
- ListsUse Redis lists as queues or recent-item feeds.
- HashesStore object-like field maps under one key with hashes.
- SetsTrack unique membership with sets and set operations.
- Sorted SetsRank unique members by score for leaderboards and priority lists.