Redis keeps data in memory, which makes it extremely fast for the jobs a main database is not built for: caching expensive results, storing sessions, counting requests, queuing background work and pushing live updates. Almost every busy web application uses it, or a compatible fork such as Valkey, somewhere in its stack. This course teaches the data structures and patterns that matter in practice, and the mistakes that cause stale data, lost jobs and memory problems.

What you'll learn

  • What Redis is good at and what it should not be used for
  • The core data structures: strings, hashes, lists, sets, sorted sets and streams
  • Keys, expiry and naming conventions that stay manageable
  • Caching strategies: cache-aside, write-through, TTLs and cache invalidation
  • Avoiding cache stampedes and serving stale data safely
  • Sessions and rate limiting with counters and sliding windows
  • Background job queues with libraries such as BullMQ, Celery or Laravel queues
  • Pub/sub and streams for real-time notifications and event processing
  • Atomic operations, transactions and Lua scripts
  • Persistence, memory limits, eviction policies and running Redis in production

Who it's for

  • Backend developers whose apps are starting to slow down under load
  • Developers adding background jobs, notifications or live features
  • Teams that already run Redis but are not sure they are using it well

Prerequisites

Outcomes

By the end of this course you will be able to:

  1. Choose the right Redis data structure for a given problem.
  2. Add caching to an app with a clear invalidation strategy.
  3. Move slow work into reliable background job queues with retries.
  4. Build a real-time feature and run Redis safely in production.

Course outline

ModuleTopic
1Redis basics, the CLI and client libraries
2Core data structures and when to use each
3Keys, expiry and memory
4Caching patterns and invalidation
5Sessions, counters and rate limiting
6Background job queues, retries and failure handling
7Pub/sub and real-time notifications
8Redis Streams and consumer groups
9Transactions, atomic operations and Lua scripts
10Persistence, replication and high availability
11Monitoring, eviction policies and troubleshooting
12Project: speed up and extend a real application

FAQ

Redis or Valkey?

Both share the same core commands and data structures, so the skills transfer directly. We explain the licensing history and how to choose between Redis, Valkey and managed services.

Can Redis be my main database?

For some workloads, yes, but most applications are better served by a durable primary database with Redis alongside it. The course explains the trade-offs.

Which programming language do the examples use?

Mainly Node.js, with equivalent examples in Python. The Redis commands and patterns are the same in any language.

How do I join?

Get in touch and we'll share the current format, schedule and enrolment details.