TrackSSA0075

Workers Scale, Database Doesn't

Medium

Problem

Paradox Shop needs an order-processing worker pool that autoscales up to 10 instances under load. Left unconstrained, a fully scaled-out pool can demand far more writes per second than PostgreSQL can safely absorb; exactly when autoscaling would otherwise help most, it can instead take the database down. Design the worker pool and its autoscaling policy from scratch so scale-out is capped at what the database can safely handle, while a 48,000-job backlog still drains within 15 minutes.

Required components

Click to add a component to the canvas.

Additional components

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

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