Databases & SQL · Redis

Redis Tutorial

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

Sponsored

Lesson outline

  1. 73
    Redis Eviction Policies

    Learn how Redis manages memory by evicting keys when maxmemory is reached. Explore all eviction policies from noeviction to volatile-lru and allkeys-lfu, and choose the right one for your use case.

  2. 74
    Choose Between allkeys-lru and volatile-ttl

    Learn when to use allkeys-lru vs volatile-ttl eviction policies in Redis – pick the right strategy based on your cache's TTL discipline and memory constraints.

  3. 75
    Redis Session Storage

    Learn to use Redis for session storage in this practical tutorial. Understand core concepts, step-by-step implementation, hands-on exercises, and troubleshooting for scalable session management.

  4. 76
    Redis Password & TLS Security

    Secure your Redis instance by enabling password authentication and Transport Layer Security (TLS) encryption. This lesson covers configuration, client connections, and best practices for production-grade Redis security.

  5. 77
    Real-time Leaderboard with Sorted Sets

    Learn to build a real-time leaderboard using Redis sorted sets. This lesson covers the core concepts, hands-on walkthrough, and troubleshooting.

  6. 78
    Rate Limiting with Redis & Flask

    Implement rate limiting with Redis on Flask. Master sliding-window counters using Redis sorted sets & INCR commands in a full walkthrough tutorial.

  7. 79
    Deploy Redis Cluster on Kubernetes

    Learn to deploy a Redis cluster on Kubernetes with this hands-on tutorial. Covers core concepts, step-by-step deployment, troubleshooting, and next steps in the Redis learning path.

    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.