TrackFTS0067

Availability or Strong Consistency

Hard

Problem

Paradox Shop's global inventory counter just hit a network partition between two regions; during a flash sale, no less. A partition means you cannot have both full availability AND strong consistency on the same operation at the same time: something has to give. The read path below already stays available through a cache; fix the write path so it never oversells during a partition, even if that means a write occasionally has to wait or fail, without giving up availability on reads.

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
1,800 inventory ops/sec
Monthly cost
$470

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.