TrackFTS0030

Inventory Is Wrong

Hard

Problem

Paradox Shop's warehouse write pipeline already correctly applies stock-change events to the database through a queue and worker. The storefront's cache is still at the default 60-second TTL, leaving customers looking at stale stock counts for up to a full minute after a sale, six times the 10-second bound; and the app tier was sized for launch-day traffic. Resize the fleet, and tighten the TTL without dropping hit rate below the floor.

Required components

Click to add a component to the canvas.

Additional components

Browse by category. Click or drag a component onto the canvas.

Production Alert
App CPU is at 100%, over the 80% target.
Traffic
1,200 RPS
App CPU
100%
Monthly cost
$660

Drag components from the library onto the canvas, then drag from a component's right handle to connect it to another.

100%

Design canvas

Sign up to start designing

Sign up free

Premium is free for 58 more days.

$0 / $1,850