Chapter 4. Keeping data safe and ensuring performance

This chapter covers

  • Persisting data to disk
  • Replicating data to other machines
  • Dealing with system failures
  • Redis transactions
  • Non-transactional pipelines
  • Diagnosing performance issues

In the last few chapters, you’ve learned about the variety of commands available in Redis and how they manipulate structures, and you’ve even solved a few problems using Redis. This chapter will prepare you for building real software with Redis by showing you how to keep your data safe, even in the face of system failure, and I’ll point out methods that you can use to improve Redis performance while preserving data integrity.

We’ll start by exploring the various Redis persistence options available ...

Get Redis in Action 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.