Over the last couple years, the techniques and tools used for persisting and querying data have grown at an incredible pace. While it's safe to say that relational databases aren't going anywhere, we can also say that the ecosystem around data is never going to be the same.
Of all the new tools and solutions, for me, Redis has been the most exciting. Why? First because it's unbelievably easy to learn. Hours is the right unit to use when talking about length of time it takes to get comfortable with Redis. Secondly, it solves a specific set of problems while at the same time being quite generic. What exactly does that mean? Redis doesn't try to be all things to all data. As you get to know Redis, it'll become increasingly evident what does and what does not belong in it. And when it does, as a developer, it's a great experience.
While you can build a complete system using Redis only, I think most people will find that it supplements their more generic data solution - whether that be a traditional relational database, a document-oriented system, or something else. It's the kind of solution you use to implement specific features. In that way, it's similar to an indexing engine. You wouldn't build your entire application on Lucene. But when you need good search, it's a much better experience - for both you and your users. Of course, the similarities between Redis and indexing engines end there.
The goal of this book is to build the foundation you'll need to master Redis. We'll focus on learning Redis' five data structures and look at various data modeling approaches. We'll also touch on some key administrative details and debugging techniques.
License
The Little Redis Book is licensed under the Attribution-NonCommercial 3.0 Unported license. You should not have paid for this book.
You are free to copy, distribute, modify or display the book. However, I ask that you always attribute the book to me, Karl Seguin, and do not use it for commercial purposes.
You can see the full text of the license at:
http://creativecommons.org/licenses/b...
About The Author
Karl Seguin is a developer with experience across various fields and technologies. He's an active contributor to Open-Source Software projects, a technical writer and an occasional speaker. He's written various articles, as well as a few tools, about Redis. Redis powers the ranking and statistics of his free service for casual game developers: mogade.com.
Karl wrote The Little MongoDB Book, the free and popular book about MongoDB.
His blog can be found at http://openmymind.net and he tweets via @karlseguin
With Thanks To
A special thanks to Perry Neal for lending me his eyes, mind and passion. You provided me with invaluable help. Thank you.
Latest Version
The latest source of this book is available at: http://github.com/karlseguin/the-litt...
Great intro book. It briefly covers the essential parts of Redis, starting with explaining the data structures and continuing with some important commands and administration information. I liked that it stated clearly which commands are great debug tools but shouldn't be run on production instances.
The little Redis book does a great job in covering most of the essential concepts of Redis in a lucid way. After covering the book, you can get a good understanding of Redis and learn many techniques to make the best use of Redis. You will learn about good patterns and anti-patterns related to using Redis. To keep the content small, the author has left many things out which is good. But he should have specified the things not covered in the book. If a person only reads this book on Redis, then he will remain unaware of his ignorance of many other capabilities of Redis. Even though the book has an associated github repo, the author has not spent time to update the book with latest Redis features. The book is an essential read for engineers developing server-side applications. But engineers will have to refer to other materials for any serious use of Redis.
A tiny ebook for having an overview of the key elements in redis. Since redis is a quite lightweight database with clear API, the next step should be reading the official document.
Just like the other books from "The Little Book" series this one gives brief introduction to Redis, yet sufficient to start using in a day-to-day work.
Very simple, easy to go book, less than 50(total 31) pages.
Introduction : is very neat and clean talks about installing Redis on your system(on window as well), also talks about drivers, if you want to use any language with Redis (PHP, Ruby etc).
Chapter 1: Author says it's the building block to understand the Redis.
Chapter 2: Talks about Redis Data Structures, Strings, Hashes(my fav), Lists(poorly described), Sets(poorly described) and Sorted Set.
Chapter 3: Introduces some Computer Science behind using(preferences) data structures like Big-0-notation, talks about Queries, Index, Round trip and pipelining, Transactions and some Anti-patterns in using keys.
Chapter 4: Introduces Expiration i.e. how to expires a key after some time like in case of caches, and again my fav one Pub(Publication) and Sub(Subscriptions) which i was able to understand in a one go, then the author talks about Monitor command(just awesome) and Slowlog commands and then Sort(very usefull in real case), Scan(its like pagination in Redis).
Chapter 5: Talks of Lua scripting, i need more practice to get comfortable in Lua.
Chapter 6: Talks about Configuration, the command i liked [config get *log*], Authentication to set password for your Redis instance, Size limitations, Replication, Backups, and Scaling Redis with Clusters.
Summary: If you dont know any thing about Redis, but are curious and want to get your hands dirty with it just get this book and read line by line its very small book only 31 pages, after completing this book you will be comfortable to read Redis docs as well other heavy books like Redis in action.
A very much to-the-point book. Though it does not cover some topics in detail and of course it can't in this short number of pages. But it's good head start to Redis.