ProblemsFTS0075

Workers Scale, Database Doesn't

Medium

Problem

Paradox Shop's order-processing worker pool below autoscales up to 10 instances under load; fully scaled out, it can demand far more writes per second than PostgreSQL can safely absorb, and the database starts falling over exactly when the worker pool 'helps' the most. Fix the autoscaling policy so it never scales past what the database can safely handle.

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
500 jobs/sec
Monthly cost
$120

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 / $200