ProblemsSSA0053

The Payment Ran Twice

Easy

Problem

Paradox Shop's payment pipeline needs to survive the case where a payment worker crashes right after charging a customer's card but before it acknowledges the message: the at-least-once queue will redeliver that message, and a naive worker would charge the same order twice. Design a payment-processing pipeline from scratch where a redelivered message can never produce a second payment.

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.