Databases & SQL · Redis

Redis Tutorial

Caching choreography, TTL discipline, Streams & pub/sub orientation.

Sponsored

Lesson outline

  1. 49
    Add and read stream entries

    Learn to add entries to a Redis stream and read them in order. This hands-on tutorial covers XADD, XREAD, and basic stream operations step by step.

  2. 50
    Redis Tutorial — Part 025

    Placeholder slot — edit in console (redis-stub-025).

  3. 51
    Use Consumer Groups with Streams

    Use Consumer Groups with Streams: Learn how to coordinate multiple consumers for reliable message processing in Redis. This lesson covers creation, reading, acknowledgment, and recovery patterns.

  4. 52
    Redis Tutorial — Part 026

    Placeholder slot — edit in console (redis-stub-026).

  5. 53
    Read Pending Stream Entries

    Learn how to read pending stream entries in Redis with a hands-on exercise, troubleshooting tips, and next steps in the Redis track.

  6. 54
    Redis Acknowledge & Trim Streams

    Learn how to acknowledge messages and trim streams in Redis for efficient stream management. This lesson covers the core concepts, step-by-step instructions, hands-on exercises, and troubleshooting for Redis Streams acknowledgment and trimming.

  7. 55
    Configure Redis RDB persistence

    Learn how to configure RDB (Redis Database) persistence — snapshot-based data durability. Understand configuration, triggers, and trade-offs with practical examples.

  8. 56
    Configure Redis AOF

    Set up Append-Only File persistence in Redis step by step. Learn how to enable AOF, tune fsync policies, compare durability and performance trade-offs, and troubleshoot common edge cases. Hands-on exercise included.

  9. 57
    Redis Replication Basics

    Understand how Redis replication works: master-slave architecture, data consistency, read scaling, and failover. Hands-on exercise included.

  10. 58
    Set up a Redis replica

    Learn to set up a Redis replica in this hands-on tutorial. Follow step-by-step instructions, understand the core concepts, and apply them to build a reliable replicated setup.

  11. 59
    Handle Redis Failover Manually

    Step-by-step manual failover in Redis: understand the process, execute a controlled switch, and handle edge cases. Practical for high-availability setups.

  12. 60
    Redis Sentinel Intro

    Learn the fundamentals of Redis Sentinel for high availability — understand its core concepts, hands-on walkthrough, and troubleshooting tips.

    Redis Tutorial — step-by-step tutorials

    What you will find here

    This track walks through redis tutorial in order — each lesson is server-rendered HTML you can read without JavaScript. Follow the outline, then practice in the browser IDE when a lesson links to runnable code.

    Tutorials vs quizzes and code samples

    Tutorials teach in sequence. For quick checks use quizzes. For copy-paste snippets see code samples. For deeper reading browse articles.