O'Reilly logo

Haskell Cookbook by Yogesh Sajanikar

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Using hedis to work with redis (key-value, list and hash)

Redis (http://redis.io) is a key-value store and more. It offers facilities very different than relational databases. As a NoSQL database, one has to employ a different philosophy, such as duplicating keys across stores, maintaining reverse lookup, and so on.

In this recipe, we will be using redis to create key-value stores, sorted sets, and hash sets. We will be using the hedis library to connect to Redis and manipulate the data.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required