ProblemsSSA0066

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 can fail over from us-east to eu-west mid-flow, so both regions may end up editing the same customer's cart quantities within seconds of each other. With a naive Last Write Wins policy, whichever write lands last would silently overwrite the other; a customer could watch an item disappear from their cart with no error anywhere. Design a data tier from scratch where concurrent regional writes to the same record 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.

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.