Get in Touch

Course Outline

Module 1: Initial Setup

  • Redis Releases
  • Installation
  • Configuration
  • Security Model
  • Starting Redis During Boot
  • Security Hardening Applied by Common Linux Distributions
  • Client Libraries and Language Bindings

Module 2: Data Model

  • Primitive Data Types and Commands to Manipulate Them
  • Typical Use Cases for Each Data Type
  • Common Naming Conventions for Redis Keys
  • "Redis Is Mostly Single-Threaded" – What It Means in Practice
  • Redis Wire Protocol
  • What to Do If Your Client Library Does Not Support a Useful Command
  • Why Some Commands Are Deliberately Unavailable in Certain Client Libraries
  • How to Shift Your Mindset from That of a Relational Database Designer
  • General Tips on Data Organisation
  • Expiration
  • Pub/Sub
  • Transactions & Lua Scripts
  • External Modules
  • General Tips on Data Consistency

Module 3: Performance Tips

  • Benchmarking Redis
  • Commands to Avoid
  • Debugging Latency Problems
  • Problems with Large DEL Requests – What to Use Instead
  • Pipelining
  • Mass Insertion
  • Debugging Memory Overuse
  • Memory Optimisation Tips

Module 4: Operations

  • Available Persistence Mechanisms
  • Precautions to Avoid SSD Wear
  • Backup and Restore
  • Tools for Exploring Database Contents
  • Tools for Dump Analysis
  • Tuning Durability vs Performance
  • Switching Between RDB and AOF
  • Use Cases for Diskless Redis
  • OS-Level Tunables Relevant for Redis
  • Monitoring Redis Performance

Module 5: More Than One Redis

  • Starting Multiple Instances of Redis on One Server
  • Application-Level Partitioning
  • Master-Slave Replication
  • High Availability Using Redis Sentinel
  • Redis Cluster
  • Making Sentinel and Cluster Work Across NAT
  • Making Consistent Backups

Requirements

Participants should be comfortable with basic system administration tasks using the Linux command line. Some topics require programming or scripting skills. When booking, please list the programming languages you are familiar with. If you have none, we will simply issue Redis commands from redis-cli.

 14 Hours

Number of participants


Price per participant

Testimonials (7)

Provisional Upcoming Courses (Require 5+ participants)

Related Categories