Training path

Redis

The in-memory data store for caches, counters, queues, leaderboards and messaging, on a Redis server of your own.

Your lab machineLive

A Redis 7 server of your own, with redis-cli, next to every lesson.

learner@linux-server:~$ redis-cli set greeting hello

learner@linux-server:~$ redis-cli incr page:views

learner@linux-server:~$ redis-cli zrange leaderboard 0 2 rev

What you'll learn

Every lesson runs on a Redis server of your own. You use each of its data types for what it is good at: strings with expiry for caches and sessions, atomic counters and rate limits, lists as queues, sets, hashes, sorted sets for leaderboards, then persistence, eviction, Pub/Sub and streams.

Core skills

  • ✓redis-cli and key naming
  • ✓Strings, expiry and TTLs
  • ✓Atomic counters, rate limits and locks
  • ✓Lists, sets and hashes
  • ✓Sorted sets for rankings

Advanced topics

  • ✓RDB snapshots and the append-only file
  • ✓maxmemory and eviction policies
  • ✓Pub/Sub messaging
  • ✓Streams and consumer groups

Course modules

  1. 01

    Your Redis server

    Store and read keys with redis-cli, and find and delete them safely.

    30 min
  2. 02

    Expiry and counters

    Keys that expire by themselves, atomic counters, a rate limiter and a lock.

    45 min
  3. 03

    Lists and sets

    Lists as queues and stacks, blocking pops for workers, and sets for unique members.

    45 min
  4. 04

    Hashes and sorted sets

    Objects as hashes, and a live leaderboard with a sorted set.

    45 min
  5. 05

    Persistence and memory

    Snapshots and the append-only file, then a memory limit and an eviction policy.

    45 min
  6. 06

    Pub/Sub and streams

    Fire-and-forget messages, then streams with consumer groups that never lose one.

    1 hour

Prerequisites

Linux command-line basics.

What's included

  • •6 hands-on chapters
  • •A Redis server of your own for every lesson
  • •Tasks checked on your machine with "Check my work"
  • •Nothing to install: everything runs in your browser

Who it's for

  • •Backend developers adding a cache or a queue
  • •Anyone who has heard of Redis and wants to really use it
  • •DevOps and SREs who run Redis

By the end, you'll be able to

  • •Pick the right Redis data type for a job
  • •Build caches, sessions, counters and rate limits
  • •Use lists, streams and Pub/Sub for messaging
  • •Keep data across restarts, and run Redis as a cache that evicts

Course format

  • •Self-paced online learning
  • •Lifetime access to course materials
  • •Regular content updates
  • •Community forum access

Support

  • •Email support from instructors
  • •Q&A sessions (monthly)
  • •Peer community support
  • •Course completion certificate

Course investment

Contact for pricing

Flexible payment options available

Ready for Redis?

Open your own Redis server and store your first key in seconds.