Selling through an outage: an offline POS queue with idempotent sync
How Inventra's till keeps selling when the network drops: an IndexedDB queue, clientRef idempotency keys backed by a unique partial index, and an honest look at negative stock.
Engineering blog
Practical writing for senior developers, engineering managers and technical founders — performance, data, SaaS architecture, applied AI, payments and mobile.
How Inventra's till keeps selling when the network drops: an IndexedDB queue, clientRef idempotency keys backed by a unique partial index, and an honest look at negative stock.
How Inventra keeps stock honest: an append-only movement ledger, conditional $inc guards inside transactions, FEFO/FIFO cost layers, and a test that fires 50 parallel reserves at 10 units.