Date created: April 17, 2019
Last updated: April 19, 2019

Introduction

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 Popularity

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.

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.

Redis University

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 Books
Popular Redis Use Cases
Redis in the 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.
Redis Clients