Lab

BREAK
THE SYSTEM
APART.

Every case study on this site asks you to take my word for it. This one doesn’t. Below is a working model of the integration in Case 01 — the same rules, running in your browser. Try to break it.

The Sandbox

Fire an order and watch it reach the ERP. Then send the same order twice, or cut the connection mid-flight, and watch what the system refuses to do.

A model, not a mirror.
No real data, no network, no ERP.

MIVA storefront
LEDGER
NETSUITE online

Queue 0

Work waits here when the far side is unreachable. It is never dropped.

The model below needs JavaScript to run. The system it describes is written out in full in Case 01.

Orders fired
0
Written to ERP
0
Duplicates refused
0
Lost
0

Ledger · orders already seen

      That last number is the entire point. In the real system the ledger is a local record consulted before every write, and the queue is a retry path rather than a row of boxes — but the rule is the one you just tried to break: a write happens once, or it waits. It never happens twice and it never gets dropped. Read how the real one works →