Redis schema

We have used Redis and a few of the data types, so let's now talk about building a Redis schema. I keep making references about how Redis is not a database system, but I feel it is a good shared perspective to discuss building a schema. Databases keep data in rows with multiple columns for each row. In addition to this, you can normalize the data and keep a reference to another row that relates keeping data separate. The end result is the same though; whether or not the database is normalized, the data is a row with multiple columns that store values. We have seen from our example application that you cannot store data this way with Redis. We will now cover some ways to build a Redis schema. The example schema we will build is for ...

Get Building Scalable Apps with Redis and Node.js now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.