ProblemsFTS0066

Two Regions Edit the Same Record

Medium

Problem

Paradox Shop's shared cart record can be written from two regions in the same checkout session; a request fails over from us-east to eu-west mid-flow, and both regions end up editing the same customer's cart quantities within seconds of each other. The store below is already replicating across regions; but whichever write lands last still silently overwrites the other, because the conflict policy hasn't been changed from its default. Fix the data tier so concurrent regional writes converge by merging, instead of one silently winning.

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
300 cart writes/sec
Monthly cost
$330

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.