Personal product / Services and interfaces
TktSync
One inventory authority across independent sellers.
TktSync takes an event from venue layout to the moment a ticket is scanned at the door. Independent partners run their own storefronts and handle their own payments; TktSync owns the parts that must have one answer: shared inventory, who holds which ticket, and whether it admits entry.
Independent sellers, shared inventory
- Seller A
- Requests seat A12
- Seller B
- Requests the same seat
- Transaction
- Stable whole-cart lock order
- Inventory
- One accepted seat claim
The problem
Sellers compete for overlapping seats and quantities at the same time, and a customer's payment can remain uncertain long after an ordinary hold would expire.
Decisions I owned
- 01
Claim the whole cart, or nothing
Each cart becomes a canonical claim plan. Allocation, seat and general-admission resources are locked in stable identity order, then claimed in one PostgreSQL transaction. Stable ordering keeps competing carts from acquiring the same resources in opposite orders; failure to acquire any part rolls back the whole cart.
- 02
Give each kind of waiting its own clock
Hold, protected checkout, payment retry and reconciliation run on separate clocks. An uncertain payment keeps its original identity rather than being treated as a fresh purchase.
- 03
Freeze what has been sold
Published venue layouts are frozen, so later drawing edits cannot redefine inventory that has already been sold. Ticket identity stays stable while replaceable QR credentials and admission checks follow current entitlement validity.
Illustration of the reservation rule
Two checkouts, one seat
The reservation decision happens inside the shared transaction, so two sellers cannot both own the same accepted seat claim.
Seller A
Idle
Seller B
Idle
- 1Seller A and Seller B both submit a cart containing seat A12.
- 2Both claims reach the shared inventory boundary and lock A12 in the same stable order — one waits for the other.
- 3Seller A's transaction holds the lock, finds A12 available and commits the claim.
- 4Seller B's transaction then checks A12 authoritatively, finds it taken and returns “unavailable”. Its whole cart rolls back.
Outcomes
Competing sellers share one inventory authority, carts never become partial reservations, and admission follows the current entitlement and credential.