With the load generator successfully run, it’s time to take a look at the time our APIs are spending reading from the database. You can load the dashboard by navigating to CloudWatch via the AWS console and clicking on the MomentoPizza dashboard. You can also jump directly to it here.
The metrics for this workshop are broken out into three parts (for each of our 3 read APIs undergoing performance testing):
Don’t worry about the caching-related metrics yet - they’ll make more sense later.
At right you’ll see a line graph depicting these metrics as an average - the most recent 10 minutes of metrics are shown.
At left, you’ll see latencies in milliseconds for each of our 3 API endpoints, at both average and the 99th percentile (p99).
Admin API
Order API
We will be coming back to this dashboard several times over the course of the workshop. With this in mind, perform the following tasks:
That’s it for now! Time to work some caching in with our code 🤓