- Lab
- 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.
Path Info
Table of Contents
-
Challenge
Measure the Baseline Performance
-
Create the
app
directory. -
Edit the database configuration.
-
Create the baseline performance measurement of the application. We will compare this with the Redis performance after our changes.
-
-
Challenge
Deploy the Redis Cluster
- Create the security group and necessary inbound rules.
- Deploy a new Redis cluster to use as our cache.
-
Challenge
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.
Provided environment for hands-on practice
We will provide the credentials and environment necessary for you to practice right within your browser.
Guided walkthrough
Follow along with the author’s guided walkthrough and build something new in your provided environment!
Did you know?
On average, you retain 75% more of your learning if you get time for practice.