Date created: April 17, 2019
Last updated: April 19, 2019
Redis (REmote DIctionary Server) is one of the most popular databases in the world. Redis is a Key Value dictionary. Google Cloud Memorystore is Google’s managed service for Redis. As part of my deep dive into Google Cloud, I need to know both Redis on Google Cloud VMs (Compute Engine, App Engine Flexible, and Kubernetes) and Google Cloud Memorystore.
This article is being developed. I plan to add more content around installing and setting up Redis, Clustering (Sharding), HA and programming typical use cases.
Redis is #7 of all types of databases and #1 of Key-value databases.
What is Google Cloud Memorystore?
“Cloud Memorystore for Redis provides a fully managed in-memory data store service built on scalable, secure, and highly available infrastructure managed by Google. Use Cloud Memorystore to build application caches that provides sub-millisecond data access. Cloud Memorystore is compatible with the Redis protocol, allowing easy migration with zero code changes.” Google Source.
Google Cloud and Redis Labs Expand Strategic Partnership
Google Next ’19. Watch this video for a demonstration of the next iteration of Redis on Google Cloud. Very cool product demo. Clusters, replication, flash storage, persistence, monitoring, Stackdriver and more are supported.
Excellent videos for learning Redis
I watched a lot of videos on Redis. I have listed the ones below that I think are good. The Pluralsight course below will give you a solid introduction to Redis. Advanced items such as Redis Streams are not covered in the Pluralsight course. For advanced Redis look at Redis University below. Their courses are free and good.
- YouTube: Why Redis?
- YouTube: Redis Streams
- YouTube: Redis Crash Course Tutorial
- YouTube: Redis Streams, Functions and Data Structures
- Pluralsight: Building NoSQL Apps With Redis
Excellent videos for learning Google Cloud Memorystore
I watched a lot of videos on Cloud MemoryStore. I have listed the ones that I think are good. If you are preparing for a Google Cloud Certification, the Pluralsight course below is perfect and will give you everything you need in a couple of hours.
- YouTube: Worried About Application Performance? Cache It! (Cloud Next ’19)
- YouTube: Get Started with Cloud Memorystore for Redis
- Pluralsight: Leveraging Fully Managed Redis Datastores Using Google Cloud Memorystore
- YouTube: Cloud MemoryStore for Redis and OpenCensus
- YouTube: Caching Made Easy, with Cloud Memorystore (Cloud Next ’18)
- YouTube: Cloud OnAir: Getting started with Redis on Google Cloud Platform
These courses are good. A plus is that you are constantly being quizzed during the course which helps to reinforce knowledge. Another plus is their Virtual Lab which lets you play with Redis online. This includes running Python programs to test Redis features.
Home page for the following resources:
- Online Class: Virtual Lab Primer – PR001
- Online Class: Introduction to Redis Data Structures – RU101
- Online Class: Redis Search – RU201
- Online Class: Redis Streams – RU202
- Redis for Dummies (2019)
- Download: Redis for Dummies Source Code
- Redis Cookbook (2011)
- Redis in Action (2013)
Popular Redis Use Cases
Redis in the Cloud
- Alibaba ApsaraDB for Redis
- Amazon ElastiCache for Redis
- Azure Redis Cache
- Google Memorystore
- IBM Databases for Redis
- Redis Enterprise Cloud
Google Cloud Memorystore
- Cloud Memorystore for Redis FAQ
- Cloud Memorystore has a number of limitations. Read the FAQ before deciding. In some cases, you should deploy Redis on your own VMs. At Google Next ’19 was a demo of the next iteration of Redis on GCP. I expect big changes this year for Cloud Memorystore and Redis Enterprise.
- Note: Cloud Memorystore for Redis does not currently support persistence.
- Product constraints
- Maintenance policy
- Basic Tier Cloud Memorystore for Redis instances experience a full cache flush during maintenance. If your application cannot withstand a full cache flush, create it with a Standard Tier instance.
I design software for enterprise-class systems and data centers. My background is 30+ years in storage (SCSI, FC, iSCSI, disk arrays, imaging) virtualization. 20+ years in identity, security, and forensics.
For the past 14+ years, I have been working in the cloud (AWS, Azure, Google, Alibaba, IBM, Oracle) designing hybrid and multi-cloud software solutions. I am an MVP/GDE with several.