You are previewing Instant Redis Persistence.
O'Reilly logo
Instant Redis Persistence

Book Description

Everything you need to know about configuring, maintaining, and optimizing your Redis data storage

  • Learn something new in an Instant! A short, fast, focused guide delivering immediate results

  • Configure and manage how Redis stores your data

  • Optimize performance and ensure data security with backups and encryption

  • Provides step-by-step instructions and real-world examples of managing large-scale Redis installations

In Detail

Persistence relates to issues involving storage and memory. Redis is built for speed, but one of its weaknesses is that it falls down in terms of persistence in regard to other NoSQL databases. However, it is still one of the most popular and high-performance key-value stores available. Configuring and managing Redis installations is one of the more challenging topics when using this technology. There is great demand for safe, permanent storage of business-critical data.

This book is your step-by-step guide to configuring a Redis server, enabling you to store data safely and efficiently. Whether you need to set up a simple cache or make secure offsite backups for a large distributed data store processing millions of requests per second, you'll find what you need in this book.

This book contains everything you need to know to ensure the safety and security of the data in your Redis installation. The book has step-by-step recipes designed to teach you everything from configuring Redis as a cache or disk-backed data store, right through to handling large-scale Redis installations and making encrypted offsite backups. Instant Redis Persistence provides methods and techniques to help you reduce the problem of persistence. It is the essential reference for anyone who runs Redis.

Table of Contents

  1. Instant Redis Persistence
    1. Instant Redis Persistence
    2. Credits
    3. About the Author
    4. About the Reviewers
    5. www.PacktPub.com
      1. Support files, eBooks, discount offers and more
        1. Why Subscribe?
        2. Free Access for Packt account holders
    6. Preface
      1. What this book covers
      2. What you need for this book
      3. Who this book is for
      4. Conventions
      5. Reader feedback
      6. Customer support
        1. Downloading the example code
        2. Errata
        3. Piracy
        4. Questions
    7. 1. Instant Redis Persistence
      1. Using Redis as a data cache (Simple)
        1. How to do it...
        2. How it works...
      2. Ensuring data integrity (Simple)
        1. How to do it...
        2. How it works...
        3. There's more...
          1. How AOF mode works
          2. Why we need to rewrite the AOF
      3. Point-in-time recovery (Simple)
        1. Getting ready
        2. How to do it...
      4. Limiting cache memory (Intermediate)
        1. Getting ready
        2. How to do it...
        3. How it works...
      5. Enabling AOF with existing data (Intermediate)
        1. How to do it...
        2. How it works...
      6. Optimizing AOF performance (Intermediate)
        1. How to do it...
        2. How it works...
      7. Reducing system load from AOF rewrites (Intermediate)
        1. Getting ready
        2. How to do it...
        3. How it works...
      8. Taking periodic backups with RDB (Intermediate)
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
          1. Restoring from your backups
          2. Sending encrypted backups to Amazon S3
      9. Dealing with AOF corruption (Intermediate)
        1. Getting ready
        2. How to do it...
        3. How it works...
      10. Maximizing performance with offline backups (Advanced)
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
          1. Compressing and encrypting local backups
          2. Compressed, encrypted S3 backups with PIPESAVE
      11. Monitoring your persistence (Advanced)
        1. Getting ready
        2. How to do it...
        3. How it works...
      12. Protecting your data via replication (Advanced)
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
      13. Using Redis in a hostile environment (Advanced)
        1. How to do it...