e-Book - Redis in Action

This book covers the use of Redis, an in-memory database/data structure server.
  • Foreword
  • Preface
  • Acknowledgments
  • About this Book
  • About the Cover Illustration
  • Part 1: Getting Started
  • Part 2: Core concepts
  • Part 3: Next steps
  • Appendix A
  • Appendix B
  • Buy the paperback

    4.3 Handling system failures

    In order to be able to handle system failures in Redis, we need to prepare ourselves
    for the failure. The reason we’ve spent so much time talking about these topics is
    because if we’re going to rely on Redis as the sole data store for our application, then
    we must ensure that we never lose any data. Unlike a traditional relational database
    that offers ACID2 guarantees, when choosing to architect on top of a Redis back end,

    2 ACID—or atomicity, consistency, isolation, and durability—is a functional description of what a database must guarantee to offer reliable transactions over data.