Same skeleton as the canonical answer but provisioned for the evening peak, not the daytime average, with an extra edge layer for the very hottest keys.
The trade is cost. If this were my bill I'd probably drop app to 4. For an interview I'd rather show I sized to the peak.
Sign in to join the discussion.
app ×6 feels generous but I'd rather over-provision compute than miss the p99 during peak. Reasonable call.
Per-AZ cache placement is a nice touch. One nit: cache.small ×3 vs one bigger node is a real cost/HA tradeoff worth a sentence.
Sizing to the 5× peak instead of the average is the right instinct — under-provisioning is the classic evening-peak outage.
Per-AZ cache placement is underrated. Most people draw one cache box and call it HA.
app.xlarge ×6 is ~16k QPS of compute for 2.5k of surviving writes + cache misses. I think you could halve it and spend the savings on a second cache tier region.