Because new applications require to be reliable and super fast, caching is one of the solutions you should implement in an application to guarantee no time is spent without any reason. Suppose you have developed an application that is distributed on a few different servers. Your application implements sessions for each user, so you need to store and handle this session somewhere. Because your application is distributed, you can't store the sessions on the local machines, but you need to find another solution. Well, a caching solution is what you are looking for. In particular, Memcached is an object caching system. It allows you to store key-value fields where the key needs to be unique, and it's used to set and then retrieve data; the value is the object you want to store (such as the session object in the previous example).
Because of this importance, Google offers an in-memory caching solution through Google Memorystore. It is a scalable, secure, and highly available in-memory service for both Redis and Memcached.
In this lab, you will create a Memcached cluster, you will connect to it and perform some operations, and you will finally scale it out.
Upon completion of this lab you will be able to:
This lab is intended for:
Basic Memcached prerequisites are preferred but not required.
Stefano studies Computer Science and is passionate about technology. He loves working with Cloud services and learning all the best practices for them. Google Cloud Platform and Amazon Web Services are the cloud providers he prefers. He is a Google Cloud Certified Associate Cloud Engineer. Node.js is the programming language he always uses to code. When he's not involved in studying or working, Stefano loves riding his motorbike and exploring new places.