This chapter introduced Docker, a container technology for Linux, that can ease the difficulties of managing Redis-based applications by providing isolated, replicated, and fast application virtualization without the need to launch a new virtual machine. We went through the steps to download and launch a container instance of the official Redis Docker image and showed how to send in various command-line options for running Redis in a Redis container. We then looked at how Docker compose can be used to automate and simplify the deployment of multiple containers in a typical application. Finally, we examined three-cloud hosting options for running your Redis application and some of the advantages and disadvantages of each option. In Chapter 9, Task Management and Messaging Queuing we will turn back to more application design and development and look in much more depth on how to use Redis Pub/Sub functionality for messaging and other types of functionality between applications that...
Overview of this book
Redis is the most popular, open-source, key value data structure server that provides a wide range of capabilities on which multiple platforms can be be built. Its fast and flexible data structures give your existing applications an edge in the development environment. This book is a practical guide which aims to help you deep dive into the world of Redis data structure to exploit its excellent features. We start our journey by understanding the need of Redis in brief, followed by an explanation of Advanced key management. Next, you will learn about design patterns, best practices for using Redis in DevOps environment and Docker containerization paradigm in detail. After this, you will understand the concept of scaling with Redis cluster and Redis Sentinel , followed by a through explanation of incorporating Redis with NoSQL technologies such as Elasticsearch and MongoDB. At the end of this section, you will be able to develop competent applications using these technologies. You will then explore the message queuing and task management features of Redis and will be able to implement them in your applications. Finally, you will learn how Redis can be used to build real-time data analytic dashboards, for different disparate data streams.
Table of Contents (18 chapters)
About the Author
About the Reviewers
Advanced Key Management and Data Structures
Managing RAM – Tips and Techniques for Redis Memory Management
Programming Redis Part One – Redis Core, Clients, and Languages
Programming Redis Part Two – Lua Scripting, Administration, and DevOps
Scaling with Redis Cluster and Sentinel
Redis and Complementary NoSQL Technologies
Docker Containers and Cloud Deployments
Task Management and Messaging Queuing
Measuring and Managing Information Streams