0Pricing
Redis Caching & Messaging (Pub/Sub, Streams) · Lesson

Analyzing the Slow Log

Use the Redis slow log to find commands that block the server, interpret entries, and tune the thresholds that capture them.

Redis Is Single-Threaded

Command execution in Redis is effectively single-threaded. One slow command blocks every other client. The slow log records commands whose execution time exceeds a threshold, so you can hunt down these blockers.

What It Measures

The slow log times only command execution, not network or I/O wait. So a logged entry means Redis itself spent that long, usually on an expensive operation over many elements.

All lessons in this course

  1. Redis Monitoring Tools
  2. Diagnosing Performance Issues
  3. Performance Tuning & Optimization
  4. Analyzing the Slow Log
← Back to Redis Caching & Messaging (Pub/Sub, Streams)