Redis

Included in Pro

Learn Redis on your iPhone

Learn Redis with 30 short lessons and 150 exercises. Each lesson explains the idea, shows you an example and gets you practicing, with an AI tutor that gives hints when you get stuck.

lessons
30
exercises
150
Beginner
5
Intermediate
12
Advanced
13
Syntax, the 3D SyntaxQuest mascot

What is Redis used for?

Redis is an extremely fast in-memory data store. It is used for caching, sessions, queues, counters and real-time leaderboards.

How the course starts

  1. 01

    Intro to Redis

    What Redis is, how to connect, and your first ping.

  2. 02

    Strings and Basic Commands

    Using SET and GET from redis-cli and redis-py.

  3. 03

    Expiration and TTL

    How keys expire and how to read TTL.

  4. 04

    Numeric Operations

    Counters and atomic numeric changes with Redis.

  5. 05

    Keys and Patterns

    Key lookup, patterns, and production-safe commands.

  6. +25 more lessons in the app

    The full syllabus, the explanations and the practice are in the app.

Redis course syllabus

Beginner 5 lessons

  1. Intro to Redis
  2. Strings and Basic Commands
  3. Expiration and TTL
  4. Numeric Operations
  5. Keys and Patterns

Intermediate 12 lessons

  1. Lists
  2. Sets
  3. Sorted Sets
  4. Hashes
  5. Combining Structures
  6. Caching with Redis
  7. Session Management
  8. Leaderboards and Rankings
  9. Queues with Lists
  10. Basic Pub/Sub
  11. Subscription Patterns
  12. RDB and AOF

Advanced 13 lessons

  1. Rate Limiting
  2. Intro to Streams
  3. Consumer Groups
  4. Messaging with Streams
  5. Memory Configuration
  6. MULTI/EXEC Transactions
  7. Pipelining and Optimization
  8. Lua Scripting
  9. Master/Replica Replication
  10. Redis Sentinel
  11. Redis Cluster
  12. Security and ACLs
  13. Monitoring and Operations

A question from the course

Strings and Basic Commands

Select the pair that completes both blanks in order to store and then read a string in redis-cli and Python:

# redis-cli
___ name "Ana"

# Python
print(r.___('name').decode())

The answer, the explanation and many more exercises are waiting for you in the app.

Download

Questions about the course

Is the Redis course free?

Redis is part of Pro (and Pro Max). The app is free and you can start with the free courses before subscribing.

Do I need experience to learn Redis?

No. The course starts at beginner level (5 lessons) and moves on to intermediate and advanced at your pace.

How long is the Redis course?

It has 30 lessons and 150 exercises. Lessons are short, so you can move forward a few minutes a day; adaptive learning brings back what you are about to forget.