Book Image

Redis Essentials

Book Image

Redis Essentials

Overview of this book

Redis is the most popular in-memory key-value data store. It's very lightweight and its data types give it an edge over the other competitors. If you need an in-memory database or a high-performance cache system that is simple to use and highly scalable, Redis is what you need. Redis Essentials is a fast-paced guide that teaches the fundamentals on data types, explains how to manage data through commands, and shares experiences from big players in the industry. We start off by explaining the basics of Redis followed by the various data types such as Strings, hashes, lists, and more. Next, Common pitfalls for various scenarios are described, followed by solutions to ensure you do not fall into common traps. After this, major differences between client implementations in PHP, Python, and Ruby are presented. Next, you will learn how to extend Redis with Lua, get to know security techniques such as basic authorization, firewall rules, and SSL encryption, and discover how to use Twemproxy, Redis Sentinel, and Redis Cluster to scale infrastructures horizontally. At the end of this book, you will be able to utilize all the essential features of Redis to optimize your project's performance.
Table of Contents (17 chapters)
Redis Essentials
Credits
About the Authors
Acknowledgments
About the Reviewers
www.PacktPub.com
Preface
5
Clients for Your Favorite Language (Become a Redis Polyglot)
Index

About the Reviewers

Gustavo Franco is a tech lead manager for site reliability engineering at Google. He has worked on cloud platforms, social media, and several other services. He has also been a Debian developer for more than 10 years. His career spans over 13 years of DevOps-related work, including a FIFA World Cup online broadcast, migrating several Google internal systems to Goobuntu, the Google Compute Engine launch, and more.

Chad Lung is a cloud engineer in the EMC Rubicon cloud services group. Currently, he is an active OpenStack contributor and has over 18 years of industry experience in various roles.

Originally born in Canada, he moved to the United States in 1997 and began his software engineering career with full force. He has worked with various technologies and for large cloud-based companies, such as Rackspace and EMC.

Chad has three sons and lives with his wife in San Antonio, Texas, USA.

Stephen McDonald is a software engineer from Sydney, Australia. He currently works for Google. He is also the creator of various Redis-related open source projects, such as the hot-redis client library for Python, and CurioDB, a distributed-by-default clone of Redis that has been built with Scala and Akka. You can visit http://jupo.org for more information about him.

Yi Wang is currently a lead software engineer at Trendalytics, a fashion tech start-up. He is responsible for specifying, designing, and implementing data collection, visualization, and analysis pipelines on cloud platforms. He has over 8 years of data analytics and visualization experience at enterprises and start-ups such as Opera Solutions (big data), Maxifier (advertising technology), Sapient Global Markets, and Microsoft Research Asia. He holds a master's degree in computer science from Columbia University and a master's degree in physics from Peking University, with a mixed academic background in math, chemistry, and biology.