Redis Applied Design Patterns
- Length: 100 pages
- Edition: 1
- Language: English
- Publisher: Packt Publishing
- Publication Date: 2014-09-23
- ISBN-10: B00NVDAWJW
- Sales Rank: #1650426 (See Top 100 Books)
Use Redis’ features to enhance your software development through a wide range of practical design patterns
About This Book
- Explore and understand the design patterns of Redis through a wide array of practical use cases
- Learn about different data structures and the latest additions to Redis
- A practical guide packed with useful tips to help you use patterns in your application
Who This Book Is For
This book is for developers who are already proficient in programming and capable of designing systems using traditional databases, but are new to Redis. It is assumed that you understand the basics of Redis and are familiar with the various data structures. You are also expected to be proficient in one or more programming languages through which you want to use Redis.
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
In Detail
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
Chapter 2. Transactions and Locks
Chapter 3. Data Types in Redis
Chapter 4. Redis as a Caching Server
Chapter 5. Redis in an E-commerce Inventory System
Chapter 6. Redis in Autosuggest
Chapter 7. Redis in Real-time Analysis
Chapter 8. Redis in Gaming
Chapter 9. Redis in a Commenting System
Chapter 10. Redis in Advertising Networks
Chapter 11. Redis in Social Networks