Get in Touch

Course Outline

Module 1: Initial Setup

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

Module 2: Data Model

  • Primitive Data Types and Commands for Manipulation
  • Typical Use Cases for Each Data Type
  • Common Naming Conventions for Redis Keys
  • Understanding "Redis is Mostly Single-Threaded" in Practice
  • Redis Wire Protocol
  • Handling Useful Commands Missing from Your Client Library
  • Reasons Some Commands Are Unavailable in Certain Client Libraries
  • Shifting Your Mindset from Relational Database Design
  • General Tips on Data Organization
  • 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
  • Issues with Large DEL Requests and 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: Multiple Redis Instances

  • Starting Multiple Instances of Redis on One Server
  • Application-Level Partitioning
  • Master-Slave Replication
  • High Availability Using Redis Sentinel
  • Redis Cluster
  • Configuring Sentinel and Cluster Across NAT
  • Creating 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 possess proficiency in basic system administration tasks using the Linux command line. Certain topics necessitate programming or scripting skills. When booking, please specify the programming languages you are familiar with. If no specific languages are listed, instruction will proceed using commands from the redis-cli interface.

 21 Hours

Number of participants


Price per participant

Testimonials (1)

Upcoming Courses

Related Categories