- A Cloud Guru
Using ElastiCache to Improve Database Performance
This lab presents an application that is struggling under load due to a low read/write provisioned capacity. We navigate through the process of provisioning an ElastiCache cluster so we can implement a simplistic cache in front of the database. Basic knowledge of the Linux CLI, file commands, and Vim editor is expected.
Table of Contents
Measure the Baseline Performance
Edit the database configuration.
Create the baseline performance measurement of the application. We will compare this with the Redis performance after our changes.
Deploy the Redis Cluster
- Create the security group and necessary inbound rules.
- Deploy a new Redis cluster to use as our cache.
Update the Application and Measure its Performance
- Update the application to use the Redis cluster as a "cache-aside."
- Re-measure the application's performance and note the new total time. This should be significantly less time than the original total time.
What's a lab?
Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.