Two years since its initial release, Redis already has an impressive list of adopters, including Engine Yard, GitHub, Craigslist, and Digg. This open source data structure server is built for speed and flexibility, making it ideal for many applications. If you're using Redis, or considering it, this concise cookbook provides recipes for a variety of issues you're likely to face.
Each recipe solves a specific problem, and provides an in-depth discussion of how the solution works. You’ll discover that Redis, while simple in nature, offers extensive functionality for manipulating and storing data.
Learn when it makes sense to use Redis
Explore several methods for installing Redis
Connect to Redis in a number of ways, ranging from the command line to popular languages such as Python and Ruby
Solve a range of needs, from linked datasets to analytics
Handle backups, sharding, datasets larger than available memory, and many other tasks
Chapter 1 An Introduction to Redis
When to use Redis
Installing Redis
Using Redis Data Types
Chapter 2 Clients
Using Redis from the Command Line
Using Redis from Python with redis-py
Using Redis from Ruby with redis-rb
Using Redis with Ruby on Rails
Chapter 3 Leveraging Redis
Using Redis as a Key/Value Store
Inspecting Your Data
Implementing OAuth on Top of Redis
Using Redis’s Pub/Sub Functionality to Create a Chat System
Implementing an Inverted-Index Text Search with Redis
Tiago Macedo is an Infrastructure Lead at 3scale Networks (http://www.3scale.net/) and has beenworking with Redis for more than a year. Macedo uses Redis as a high-performance storage engine for analytics data and used it as a temporary cache for contact syncing while working at Soocial (http://www.soocial.com/).
Fred Oliveira is an entrepreneur and designer. After living in Silicon Valley to work with Techcrunch and Edgeio, Fred started Webreakstuff (a design, development and strategy consultancy) to provide services to companies and individuals. These days his main focus is to craft online experiences and help his clients build successful web-based products and services.
Fred is co-founder of the Web 2.0 Workgroup with Michael Arrington of Techcrunch and Richard MacManus of Read/WriteWeb and a 2005 Google Summer of Code alumni. He is an early technology adopter and frequently blogs and speaks at conferences about technology, the role of design, and innovation.
I didn't have my expectations too high for this book, just looking for a couple very general examples and use cases. This book is mostly Day 1 tutorial material that's actually covered better on the web (topics like how to connect to redis and how to start the command-line client, I mean come on!). Still, nothing wildly wrong in it so two stars.
maybe re-title it - "downloading redis and using it for the first time"
8/9/2011
(4 of 4 customers found this review helpful)
4.0
Learn Redis by Example
By Rob
from Brisbane, Australia
About Me Developer
Pros
Accurate
Concise
Easy to understand
Helpful examples
Well-written
Cons
Best Uses
Intermediate
Novice
Comments about oreilly Redis Cookbook:
I've been interested in redis having seen it recently in a couple of rails based systems, and heard it described as the magic caching data structure. I grabbed a copy of the Redis Cookbook in order to get a better understanding of Redis to use it with existing systems and to see how it might fit into new systems.
The Cookbook format gave some good insights into how to use red is in different situations, and I learnt how to use the APIs by seeing how they are used in the examples. Depending on your point of view the thin size of the book can be a strength or a weakness. I was able to get through it in a few hours while traveling. For a technical reader with some exposure to key value systems the Redis Cookbook makes for a good educational read that I'd highly recommend.