Redis Applied Design Patterns

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

Redis Applied Design Patterns

Arun Chinnachamy

1 customer reviews
Use Redis' features to enhance your software development through a wide range of practical design patterns
Mapt Subscription
FREE
$29.99/m after trial
eBook
$9.80
RRP $13.99
Save 29%
Print + eBook
$22.99
RRP $22.99
What do I get with a Mapt Pro subscription?
  • Unlimited access to all Packt’s 5,000+ eBooks and Videos
  • Early Access content, Progress Tracking, and Assessments
  • 1 Free eBook or Video to download and keep every month after trial
What do I get with an eBook?
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with Print & eBook?
  • Get a paperback copy of the book delivered to you
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with a Video?
  • Download this Video course in MP4 format
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
$0.00
$9.80
$22.99
$29.99p/m after trial
RRP $13.99
RRP $22.99
Subscription
eBook
Print + eBook
Start 30 Day Trial
Subscribe and access every Packt eBook & Video.
 
  • 5,000+ eBooks & Videos
  • 50+ New titles a month
  • 1 Free eBook/Video to keep every month
Start Free Trial
 
Preview in Mapt

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 1 reviews

Read More Reviews

Recommended for You

Mastering Web Application Development with AngularJS Book Cover
Mastering Web Application Development with AngularJS
$ 26.99
$ 5.40
AngularJS Web Application Development Blueprints Book Cover
AngularJS Web Application Development Blueprints
$ 29.99
$ 21.00
Building Machine Learning Systems with Python Book Cover
Building Machine Learning Systems with Python
$ 29.99
$ 6.00
Practical Data Analysis Book Cover
Practical Data Analysis
$ 29.99
$ 21.00
Mastering Node.js Book Cover
Mastering Node.js
$ 29.99
$ 6.00
Data Visualization with D3.js Cookbook Book Cover
Data Visualization with D3.js Cookbook
$ 26.99
$ 18.90