Day 2: Advanced Usage, Distribution

Day 1 introduced us to Redis as a data structure server. Today we’ll build on that foundation by looking at some of the advanced functions provided by Redis, such as pipelining, the publish-subscribe model, system configuration, and replication. Beyond that, we’ll look at how to create a Redis cluster, store a lot of data quickly, and use an advanced technique introducing Bloom filters.

A Simple Interface

At 20,000 lines of source code, Redis is a fairly simple project. But beyond code size, it has a simple interface that accepts the very strings we have been writing in the console.


We can interact without the command-line interface by streaming commands through TCP on our own via telnet and terminating ...

Get Seven Databases in Seven Weeks now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.