Lesson 1.2

Caching layers and invalidation

Caching is the cheapest performance win and the most common source of confusing bugs. Decide where it lives and what invalidates it before you add it.

Duration
7m
Level
Intermediate
Students
14k students

Overview

Caching is the cheapest performance win and the most common source of confusing bugs. Decide where it lives and what invalidates it before you add it.

In this lesson you will:

  • Place caches at the edge, application, or data layer
  • Choose a write strategy and an eviction policy
  • Plan invalidation before you plan the cache

Resources

AWS Architecture Center

The official reference for the tools used in this lesson.