Redis Applied Design Patterns

Use Redis' features to enhance your software development through a wide range of practical design patterns

Redis Applied Design Patterns

Progressing
Arun Chinnachamy

2 customer reviews
Use Redis' features to enhance your software development through a wide range of practical design patterns
$10.00
$22.99
RRP $13.99
RRP $22.99
eBook
Print + eBook
$29.99 p/month

Find out more

Get Unlimited Access to every Packt eBook and Video course

Enjoy full and instant access to over 3500+ books and videos – you’ll find everything you need to stay ahead of the curve and make sure you can always get the job done.

+ Collection
Free Sample

Book Details

ISBN 139781783286713
Paperback100 pages

Book Description

With new data stores making their way onto the market, it's necessary for businesses to understand the features and techniques to use data stores most effectively. Redis Applied Design Patterns is designed to guide you into the world of Redis and will help you understand how business problems can be solved using Redis in your application stack.

This book introduces you to the NoSQL way of thinking and how it is different from SQL. It helps you understand various functionality of Redis through a series of use cases designed for you to learn the more complex and less well-known features of Redis in an incremental way. By the time you've read this book, you will be capable of designing a system using Redis. This book will guide you through various use cases along with code samples, easy-to-understand diagrams, and tips to help you take advantage of Redis. The book explains the benefits of adding Redis to the application stack and discusses various practical use cases for Redis such as the caching system, commenting system, and social networking.

Table of Contents

Chapter 1: The SQL and NoSQL Way
Data modeling for relational databases
The NoSQL Way
Summary
Chapter 2: Transactions and Locks
Transactions in SQL systems
Maintaining data consistency in Redis
Transactions in Redis
Summary
Chapter 3: Data Types in Redis
Understanding the different data types in Redis
Key expiration
Summary
Chapter 4: Redis as a Caching Server
What is caching
The solution overview
Summary
Chapter 5: Redis in an E-commerce Inventory System
A product catalog
Inventory management
Summary
Chapter 6: Redis in Autosuggest
Autosuggest systems
The faceted search
Summary
Chapter 7: Redis in Real-time Analysis
Redis in an analytics system
Session management and analysis using Redis
Summary
Chapter 8: Redis in Gaming
Leaderboards in Redis
The notification center
Summary
Chapter 9: Redis in a Commenting System
A nonthreaded comment system
Threaded comments
Summary
Chapter 10: Redis in Advertising Networks
The ad inventory
Frequency capping
Keyword targeting
Summary
Chapter 11: Redis in Social Networks
Building your own social network
Summary

What You Will Learn

  • Get introduced to the NoSQL way of thinking
  • Use pub/sub to implement a notification system
  • Explore various data structures in Redis including HyperLogLog
  • Understand simple use cases such as the cache management system
  • Use Redis in analytics and real-time tracking
  • Implement a leaderboard in gaming using sorted sets
  • Implement a commenting system using Redis and code samples

Authors

Table of Contents

Chapter 1: The SQL and NoSQL Way
Data modeling for relational databases
The NoSQL Way
Summary
Chapter 2: Transactions and Locks
Transactions in SQL systems
Maintaining data consistency in Redis
Transactions in Redis
Summary
Chapter 3: Data Types in Redis
Understanding the different data types in Redis
Key expiration
Summary
Chapter 4: Redis as a Caching Server
What is caching
The solution overview
Summary
Chapter 5: Redis in an E-commerce Inventory System
A product catalog
Inventory management
Summary
Chapter 6: Redis in Autosuggest
Autosuggest systems
The faceted search
Summary
Chapter 7: Redis in Real-time Analysis
Redis in an analytics system
Session management and analysis using Redis
Summary
Chapter 8: Redis in Gaming
Leaderboards in Redis
The notification center
Summary
Chapter 9: Redis in a Commenting System
A nonthreaded comment system
Threaded comments
Summary
Chapter 10: Redis in Advertising Networks
The ad inventory
Frequency capping
Keyword targeting
Summary
Chapter 11: Redis in Social Networks
Building your own social network
Summary

Book Details

ISBN 139781783286713
Paperback100 pages
Read More
From 2 reviews

Read More Reviews