This book aims to provide an approachable introduction to Redis concepts by outlining many of the key-value store's commands so readers can learn their patterns and syntax, thus building up readers' understanding gradually. The goal for this book is to serve as an introduction to Redis for those interested in getting started with it, or key-value stores in general. For more experienced users, this book can function as a collection of helpful cheat sheets and in-depth reference.
The topics that it covers include how to:
- Connect to a Redis database;
- Create and use a variety of Redis data types, including strings, sets, hashes, and lists;
- Manage Redis clients and replicas;
- Run transactions in Redis;
- Troubleshoot issues in a Redis installation.
Each chapter is self-contained and can be followed independently of the others. By reading through this book, you'll become acquainted with many of Redis's most widely used commands, which will help you as you begin to build applications that take advantage of its power and speed.
This open book is licensed under a Creative Commons License (CC BY-NC-SA). You can download How To Manage a Redis Database ebook for free in PDF format (1.1 MB).
Table of Contents
How To Connect to a Redis Database
How To Manage Redis Databases and Keys
How To Manage Replicas and Clients in Redis
How To Manage Strings in Redis
How To Manage Lists in Redis
How To Manage Hashes in Redis
How To Manage Sets in Redis
How To Manage Sorted Sets in Redis
How To Run Transactions in Redis
How To Expire Keys in Redis
How To Troubleshoot Issues in Redis
How To Change Redis's Configuration from the Command Line