An inappropriate persistence strategy

Once at Yipit, a Redis instance (read-intensive) was experiencing some slowdowns, but nobody could understand why. At first, the DevOps team thought that the application's code was making Redis slow, but after some investigation, they found that the issue was due to a periodic backup strategy. Chapter 8, Scaling Redis (Beyond a Single Instance), will cover persistence in depth.

When Redis starts the procedure to create an RDB snapshot or rewrite the AOF file, it creates a child process (using the fork() system call), and the new process handles the procedure.

During the fork() execution, the process is blocked and Redis will stop serving clients. This is when the perceived latency by clients increases.

The Yipit ...

Get Redis Essentials now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.