Redis workshop - up1/training-courses GitHub Wiki

จำนวน 1-2 วัน

Software Requirements

Course outline

  • Introduction

    • Why and What Redis
    • Thinking about Redis
    • NoSQL database
  • Getting start

    • Installation
    • Basic Redis-CLI
    • Learning Redis commands
      • Manage data
      • Monitoring
    • Manage Redis with Redis Insight
      • User interface tools
  • Data types of Redis

    • String
    • List
    • Set
    • SortedSet
    • Hash
    • Design your data model by use cases
  • Scaling Redis

    • Master-slave
    • Sentinel
    • Cluster and sharding
  • High Availability & Clustering Basics

    • Redis replication (master-replica setup)
    • Failover handling with Redis Sentinel
    • Redis Cluster concepts: slots, sharding, rebalancing
  • Configuration
    • Manage Redis connection
    • Memory management
      • Memory optimization: choosing right data structures
      • Maxmemory policies & eviction strategies
    • Persist data to disk
    • High availability
    • Backup data and recovery
    • Pipeline vs transactions
    • Benchmark
  • Data persistent of Redis
    • What is data persistent ?
    • RDB and Snapshot
    • AOF (Append Only File)
  • Monitoring Redis
    • Key Redis metrics to monitor (latency, memory, ops/sec, hits/misses)
    • Built-in tools: MONITOR, INFO, SLOWLOG
    • Collect metric data
    • Working with Prometheus and Grafana
    • Alert system
  • Troubleshooting & Diagnostics
    • Detecting slow queries and memory issues
    • Analyzing client connections
    • Common errors and log analysis
    • Debugging latency problems
  • Design your data model with Redis with use cases
    • Caching data
    • Top charge
    • Streaming
    • Full-text search
    • Pub-sub
      • Bloom-filter