1234567

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.

What's Inside

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

Josiah L. Carlson

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.

PART 1 GETTING STARTED

  • Getting to know Redis
  • Anatomy of a Redis web application

PART 2 CORE CONCEPTS

  • Commands in Redis
  • Keeping data safe and ensuring performance
  • Using Redis for application support
  • Application components in Redis
  • Search-based applications
  • Building a simple social network

PART 3 NEXT STEPS

  • Reducing memory use
  • Scaling Redis
  • Scripting Redis with Lua