Course Outline

Module 1: Initial Setup for Government

  • 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 for Government

  • 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 Know About Some Useful Command
  • Why Some Commands Are Deliberately Unavailable in Some Client Libraries
  • How to Adjust Your Mindset from the One of a Relational Database Designer
  • General Tips on Data Organization
  • Expiration
  • Pub/Sub
  • Transactions & Lua Scripts
  • External Modules
  • General Tips on Data Consistency

Module 3: Performance Tips for Government

  • Benchmarking Redis
  • Commands to Avoid
  • Debugging Latency Problems
  • Problems with Big DEL Requests - What to Use Instead
  • Pipelining
  • Mass Insertion
  • Debugging Memory Overuse
  • Memory Optimization Tips

Module 4: Operations for Government

  • 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: More Than One Redis for Government

  • 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 have a foundational understanding of performing basic system administration tasks using the Linux command line. Certain topics may also necessitate programming or scripting skills. When registering for government training, please specify any programming languages with which you are proficient. If no programming experience is listed, we will focus on issuing Redis commands through the redis-cli interface.
 14 Hours

Number of participants


Price per participant

Testimonials (7)

Upcoming Courses

Related Categories