Get in Touch

Course Outline

Module 1: Initial setup

  • Overview of Redis Releases
  • Installation procedures
  • Configuration settings
  • Security model overview
  • Configuring Redis to start during boot
  • Security hardening measures implemented 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 the implications of "Redis is mostly single-threaded" in practice
  • Redis wire protocol details
  • Solutions when your client library lacks support for a useful command
  • Reasons why some commands are intentionally excluded from certain client libraries
  • Shifting your mindset from that of a relational database designer
  • General tips on data organization
  • Key expiration strategies
  • Pub/Sub functionality
  • Transactions & Lua scripts
  • External modules
  • General tips on ensuring data consistency

Module 3: Performance tips

  • Benchmarking Redis
  • Commands to avoid for optimal performance
  • Debugging latency problems
  • Addressing issues with large DEL requests and identifying suitable alternatives
  • Pipelining techniques
  • Mass insertion strategies
  • Debugging memory overuse
  • Memory optimization tips

Module 4: Operations

  • Available persistence mechanisms
  • Precautions to prevent SSD wearout
  • Backup and restore procedures
  • Tools for exploring database contents
  • Tools for dump analysis
  • Tuning durability vs performance trade-offs
  • Switching between RDB and AOF formats
  • 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 a single server
  • Application-level partitioning
  • Master-slave replication
  • High availability using Redis Sentinel
  • Redis Cluster
  • Configuring Sentinel and Cluster to work across NAT
  • Establishing consistent backups

Module 6: High Availability

  • Installation and setup of multi-Redis servers
  • Standalone server with multiple instances
  • Master/slave replication
  • Redis HA cluster with Sentinel
  • Redis sharding cluster
  • Combining Redis replication (with Sentinel) + Sharding capability
  • Monitoring, backup/restore, and performance tuning for the setup

Requirements

Participants should possess a comfortable level of proficiency in basic system administration tasks using the Linux command line. Certain topics may also require programming or scripting skills. When making a booking, please specify the programming languages you are familiar with. If you have no prior programming experience, the course will focus solely on issuing Redis commands via redis-cli.

 21 Hours

Number of participants


Price per participant

Testimonials (1)

Upcoming Courses

Related Categories