Get in Touch

Course Outline

Module 1: Initial Setup

  • Redis Releases
  • Installation
  • Configuration
  • Security Model
  • Starting Redis During Boot
  • Security Hardening Implemented 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" – Practical Implications
  • Redis Wire Protocol
  • Handling Cases Where Your Client Library Lacks a Useful Command
  • Reasons Why Some Commands Are Deliberately Unavailable in Certain Client Libraries
  • Shifting Your Mindset from That of a Relational Database Designer
  • General Tips on Data Organization
  • Expiration
  • Pub/Sub
  • Transactions and Lua Scripts
  • External Modules
  • General Tips on Data Consistency

Module 3: Performance Tips

  • Benchmarking Redis
  • Commands to Avoid
  • Debugging Latency Problems
  • Issues with Large DEL Requests – Recommended Alternatives
  • Pipelining
  • Mass Insertion
  • Debugging Memory Overuse
  • Memory Optimization Tips

Module 4: Operations

  • Available Persistence Mechanisms
  • Precautions to Avoid SSD Wearout
  • 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: Managing Multiple Redis Instances

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

Module 6: High Availability

  • Installing and Setting Up Multi-Redis Servers
  • Standalone Server with Multiple Instances
  • Master-Slave Replication
  • Redis HA Cluster with Sentinel
  • Redis Sharding Cluster
  • Combining Redis Replication (with Sentinel) and Sharding Capabilities
  • Monitoring, Backup/Restore, and Performance Tuning for the Setup

Requirements

Participants should be proficient in basic system administration tasks using the Linux command line. Certain topics may require programming or scripting skills. When booking, please specify the programming languages you are familiar with. If you do not have any, we will simply issue Redis commands via redis-cli.

 21 Hours

Number of participants


Price per participant

Testimonials (1)

Upcoming Courses

Related Categories