or
Sign in to turn on 1-Click ordering.
Trade in Yours
For a 3.81 Gift Card
Trade in
More Buying Choices
Have one to sell? Sell yours here
Sorry, this item is not available in
Image not available for
Colour:
Image not available

 
Tell the Publisher!
Id like to read this book on Kindle

Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.

Redis in Action [Paperback]

Josiah L. Carlson

Price: 28.99 & FREE Delivery in the UK. Details
o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
Only 3 left in stock (more on the way).
Dispatched from and sold by Amazon. Gift-wrap available.
Want it Saturday, 19 April? Choose Express delivery at checkout. Details
Amazon.co.uk Trade-In Store
Did you know you can use your mobile to trade in your unwanted books for an Amazon.co.uk Gift Card to spend on the things you want? Visit the Books Trade-In Store for more details or check out the Trade-In Amazon Mobile App Guidelines on how to trade in using a smartphone. Learn more.

Book Description

28 Jun 2013 1617290858 978-1617290855 1

Summary

Redis in Action introduces Redis and walks you through examples that demonstrate how to use it effectively. You'll begin by getting Redis set up properly and then exploring the key-value model. Then, you'll dive into real use cases including simple caching, distributed ad targeting, and more. You'll learn how to scale Redis from small jobs to massive datasets. Experienced developers will appreciate chapters on clustering and internal scripting to make Redis easier to use.

About the Technology

When you need near-real-time access to a fast-moving data stream, key-value stores like Redis are the way to go. Redis expands on the key-value pattern by accepting a wide variety of data types, including hashes, strings, lists, and other structures. It provides lightning-fast operations on in-memory datasets, and also makes it easy to persist to disk on the fly. Plus, it's free and open source.

About this book

Redis in Action introduces Redis and the key-value model. You'll quickly dive into real use cases including simple caching, distributed ad targeting, and more. You'll learn how to scale Redis from small jobs to massive datasets and discover how to integrate with traditional RDBMS or other NoSQL stores. Experienced developers will appreciate the in-depth chapters on clustering and internal scripting.

Written for developers familiar with database concepts. No prior exposure to NoSQL database concepts nor to Redis itself is required. Appropriate for systems administrators comfortable with programming.

Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications.

What's Inside

  • Redis from the ground up
  • Preprocessing real-time data
  • Managing in-memory datasets
  • Pub/sub and configuration
  • Persisting to disk

About the Author

Dr. Josiah L. Carlson is a seasoned database professional and an active contributor to the Redis community.

Table of Contents

    PART 1 GETTING STARTED
  1. Getting to know Redis
  2. Anatomy of a Redis web application
  3. PART 2 CORE CONCEPTS
  4. Commands in Redis
  5. Keeping data safe and ensuring performance
  6. Using Redis for application support
  7. Application components in Redis
  8. Search-based applications
  9. Building a simple social network
  10. PART 3 NEXT STEPS
  11. Reducing memory use
  12. Scaling Redis
  13. Scripting Redis with Lua

Frequently Bought Together

Redis in Action + Node.js in Action
Buy the selected items together
  • Node.js in Action 20.09


Product details


More About the Author

Discover books, learn about writers, and more.

Product Description

About the Author

Dr. Josiah L Carlson is well known as an active and helpful contributor on the Redis mailing list. He has given talks about real-world uses of Redis, including building a self-service ad network, prioritizing task queues, web spiders, a Twitter analytics platform, real-time search engines, and more.


Inside This Book (Learn More)
Browse Sample Pages
Front Cover | Copyright | Table of Contents | Excerpt | Index | Back Cover
Search inside this book:

Sell a Digital Version of This Book in the Kindle Store

If you are a publisher or author and hold the digital rights to a book, you can sell a digital version of it in our Kindle Store. Learn more

What Other Items Do Customers Buy After Viewing This Item?


Customer Reviews

There are no customer reviews yet on Amazon.co.uk.
5 star
4 star
3 star
2 star
1 star
Most Helpful Customer Reviews on Amazon.com (beta)
Amazon.com: 4.1 out of 5 stars  8 reviews
4 of 4 people found the following review helpful
5.0 out of 5 stars Great examples, like reading a story book on effective use of Redis 22 Aug 2013
By Tech Bear - Published on Amazon.com
Format:Paperback
Before I get into it, I really don't know what C. Collomb is talking about. At least 75% of the code in the book includes comments. Want to see for yourself? Read and download the example source code at the book's Github repository: [...] . There is uncommented Java code, but the Python in the repository is what is in the book.

Now that that's out of the way, I've been a pretty heavy user of Redis for the last few years as part of my job, and have been programming with Python over a half-dozen years. Given my experience, most of chapters 1-4 were too basic for me, but at least the book got me used to the way Josiah writes.

There were a few interesting topics in chapters 5 and 6, but I really think the author hits his stride in chapter 7 with searching. He pulls together a few different topics from earlier in the book to basically build an ad server with Redis. He leaves the reader with a full page listing of how to make the ad server better, which at least got me thinking, even though I hate ads.

I wasn't interested in chapter 8's social network buildout, and the section on the streaming API probably shouldn't have even been there (it's more Python than Redis). But in chapter 9 he brings it all back together and shows how you can cut memory use in about half of the situations that I've at least come across. Then in chapter 10 he continues on the scaling side of things, again bringing up older examples.

We finally get a taste of Lua scripting in chapter 11, where Josiah revisits even more previous problems. I really think that chapter 11 should have been longer, because there are a lot more interesting problems out there that Lua solves. And I wasn't interested in the sharded lists, but I guess it completes the reduced-memory sharding of structures he started in chapter 9.

If I were a new Redis user, I would give this book a 5. There is gradual buildup through the first few chapters in preparation for the more intermediate and advanced topics later on. Some of the earlier problems are a bit contrived, but it will get a new Redis user asking the right questions. If you aren't a Python user, some of the code might be a bit tough to work through, but it's a lot easier (and shorter) than if the book was in Java.

As a more advanced user of Redis, I wanted more of the advanced topics, but Josiah covered enough interesting problems to make it a worthwhile read. I'd consider this a solid 4, maybe 4.5 for a more advanced user, but I'm going to give it a 5 just because it is so much better than anything else out there for documenting best practices with Redis and covering topics that you just can't find anywhere else.
3 of 3 people found the following review helpful
5.0 out of 5 stars Tools You Can Use Right Away 22 Aug 2013
By James Phillips - Published on Amazon.com
Format:Paperback
Redis in Action covers a broad set of topics about Redis through a set of examples that build upon each other. The types of problems these examples address (caching, search, autocomplete, ad serving, system logging and configuration, and many more) are focused on real problems applicable to many different web application domains, and could be useful on their own as starter pieces for production systems. Often an example is upgraded as newer features are introduced, helping keep context across chapters and showing how to attack a problem in different ways using Redis. The text is concise and pretty dense with material but it moves along quickly and is easy to read. The code samples are in Python, which is fairly easy to pick up if you haven't worked with it before, and the author is careful to point out any deeper Python-isms that show up in the examples. There's a lot here, and a lot you can start using right away in your applications.

Disclaimer - I was an early technical reviewer for this book.
2 of 2 people found the following review helpful
5.0 out of 5 stars Must have book for redis 4 Oct 2013
By Paul - Published on Amazon.com
Format:Paperback
Redis is frequently compared to the likes of memcached and referred to as a "key value" store. This doesn't do it justice. The various data structures, it's atomic operations and pub/sub make this a viable replacement for queues, ESBs, caches and even databases.

To really utilise redis some creative thinking is needed and this is where Redis in Action comes in.

A well structured, well written book that covers pretty much every use case of redis in plenty of detail. It's nice to see a book not shy away from tackling the more challenging use cases for redis.

The first 6 chapters are what I would consider foundation topics - whilst still very useful (like caching, logging & distributed locking) chapter 7 is where it starts to get interesting. As an aside chapter 4 is very useful and deals with configuring and working with redis to minimise the chance of data loss. It felt a bit odd that it was in the first part of the book, generally chapters focusing on configuration go towards the end of a book - not that it matters, just seemed odd!

Chapter 7 onwards start to deal with interesting challenges in real world applications. By building out an Ad Server and social network the author tackles issues such as how to model none trivial data and relationships, index data and search/sort/filter.

Chapters 9 & 10 deal with performance tuning and scaling redis. Some of the tips in here are worth the cost of the book alone if you're planning on using redis at scale.

Chapter 11 covers how lua can be used to optimise performance. By reworking some of the earlier examples the author achieves a 20x performance improvement against the original autocomplete implementation. On future projects I'll be looking at using lua to speed things up.

In summary this is a significant book that's well worth the price. Recommended.

The code samples in the book are in python but java (and work in progress node) versions are available here: [...]
2 of 2 people found the following review helpful
5.0 out of 5 stars Great example problems 16 Aug 2013
By S. Williams - Published on Amazon.com
Format:Paperback
The author tweeted a deal a couple weeks ago, so I picked up Redis in Action from Manning. Some of the early chapters were really basic, but the chapters on lua scripting, memory optimization and search were great. I'd have never thought of autocomplete like in chapter 6, but you should use the version in the lua scripting chapter. Definitely worth the $23. If the author would keep writing books with as many examples for MongoDB or Postgres, I might be able to make a career out of copying and pasting from his books.
2 of 2 people found the following review helpful
4.0 out of 5 stars Good so far, not done yet 13 Aug 2013
By S. Smith - Published on Amazon.com
Format:Paperback
I have been a frontend developer for the last 8 years, doing mostly HTML, CSS, and some Javascript. I bought this book because my friend said that if I wanted to get into backend programming I should learn about databases. He said that Redis was a neat database, and that I might understand it better because the data model is a lot like what we get with Javascript. So I bought this book not really knowing anything about Redis or Python.

I'm not going to lie, it was pretty tough to get started because I didn't know anything about Python. I stopped about halfway through chapter 1 to go through some of the Python tutorial, mistakenly reading about Python 3.3, then had to go back and read the tutorial on Python 2.7 because that's what the book is written for. Ugh. But I kept going and I just finished chapter 3.

What I like: comments everywhere, good examples, the author seems to know the questions I'm going to ask because he answers them in the book just when they pop up in my head.

What I don't like: I wish there was a Redis client for Javascript on the front end so I could just do all of this directly instead of having to go through Python or something else. Anyone know when the author is going to translate this to Node.js like he promised in the first chapter? If he gets it translated then I don't need to learn a new language :(
Were these reviews helpful?   Let us know
ARRAY(0xa8684d20)

Customer Discussions

This product's forum
Discussion Replies Latest Post
Redsmin - GUI Client for Redis 1 24 Jun 2013
See all discussions...  
Start a new discussion
Topic:
First post:
Prompts for sign-in
 

Search Customer Discussions
   


Look for similar items by category


Feedback