ProblemsFTS0037

Checkout Takes Eight Seconds

Medium

Problem

Placing an order on Paradox Shop now serves 800 requests/second and takes 8 seconds; sending a confirmation email, updating analytics, and notifying the warehouse all happen inline before the response returns. A queue and a worker were added below for exactly this reason, but they were never actually wired into the checkout path, and the fleet was sized for launch-day traffic. Wire the queue in, and resize the fleet.

Required components

Click to add a component to the canvas.

Additional components

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

Current Production Metrics
Snapshot of the system before any changes.
Traffic
800 RPS
Monthly cost
$480
p95 latency
8000 ms

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,300