O'Reilly logo

Instant Redis Persistence by Matt Palmer

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Maximizing performance with offline backups (Advanced)

When you have a heavily loaded Redis server, with several well-used instances all working hard, taking RDB backups, as described previously, can have a severe negative impact on performance, because all your disk I/O capacity is being used to write your AOFs. Instead, you can reduce disk I/O by dumping RDB backups directly to another server.

I originally implemented this functionality for making backups on very large Redis instances (datasets of 80 GB or more) running on Amazon EC2. This environment has woefully poor (or very expensive) disk I/O, and when you've got AOFs streaming, I/O capacity is at a premium. Writing an RDB to a disk, then compressing it, encrypting it, and sending it off ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required