Chapter 1. Getting to know Redis

This chapter covers

  • How Redis is like and unlike other software you’ve used
  • How to use Redis
  • Simple interactions with Redis using example Python code
  • Solving real problems with Redis

Redis is an in-memory remote database that offers high performance, replication, and a unique data model to produce a platform for solving problems. By supporting five different types of data structures, Redis accommodates a wide variety of problems that can be naturally mapped into what Redis offers, allowing you to solve your problems without having to perform the conceptual gymnastics required by other databases. Additional features like replication, persistence, and client-side sharding allow Redis to scale from a convenient way to prototype a system, all the way up to hundreds of gigabytes of data and millions of requests per second.

1.1. What is Redis?

1.2. What Redis data structures look like

1.3. Hello Redis

1.4. Getting help

1.5. Summary