Readers on Demand
Easy · system design problem
A deploy will change the cache key prefix at T+20s: every read misses for a minute. Aurora can add readers in moments — if you add enough.
catalog-api serves 77,600 reads/s from Redis (95% hit rate) in front of an Aurora PostgreSQL cluster with one reader; writes go to the writer, which they keep 86% busy. At T+20s a deploy changes the cache key prefix, so Redis starts empty and takes a minute to refill. Aurora readers share the cluster volume, so a new one is serving in moments.
Topics
More
Codelays runs in your browser: turn on JavaScript to use it.