Building Offline-First Ticketing and Gate Admission

An event venue sold tickets online and scanned them at a door with two staff and a weak network. Every design decision had to assume the scanner would be offline at the worst possible moment.

Client withheld under NDA. The sector, the shape of the engagement and the constraints are described; no client data, screens, names or volumes are reproduced.

Snapshot
Client
Event venue, Hong Kong
Sector
Venue and events
Engagement
Ticketing build, gate hardware, offline mode, season operations
Scope
Ticket types · wallet · scanning · offline cache · reconciliation · no-show reporting
Duration
12 weeks before first season
Status
Three seasons run, no duplicate admissions
90
seconds of queue the door can absorb before the room starts complaining.
2
scanners, each with a full offline cache of the night’s tickets.
0
duplicate admissions across three seasons.
4
ticket types readable from one code.

Problem

Online ticketing is a solved problem until the moment of entry. At the door you have strangers, a queue, a venue with thick walls, and staff who cannot debug anything. The failure mode is not a lost sale; it is a hundred people standing outside while someone reboots a laptop.

The venue had been running on a list and a highlighter, which is offline by nature and wrong by midnight. The brief was to keep the speed of the highlighter and lose the errors.

Figure 1 — From a purchase to an admission, and where the network is allowed to fail

walk orderSellonline or box officeone code per admission1Deliverwallet or PDFsame code either way2Cachebefore doorsevery valid code, on every scanner3Scantwo secondsgreen, amber, red4Reconcileafter closescanner log against salesThe cache is the whole design. A scanner that must ask the server is a scanner that stops working when the queue is longest,which is also when the wifi is busiest.

Approach

Every scanner holds the night’s valid codes before doors open, with the ticket type and the entitlement attached. A scan is answered locally in milliseconds, and the log syncs when it can. The server is a source of truth for sales, not a dependency for entry.

Three colours, and staff were trained on what to do with each rather than what they mean. Green admits. Amber means the code is valid but already used, and shows the time — which is usually a re-entry or a shared screenshot. Red means not valid tonight, and there is a printed escalation card for it.

Figure 2 — What can go wrong at the door, and what the design does about it

PreventDetectRecoverNetwork downScanner diesDuplicate codeWrong nightStaff turnoverfull cachesync laglog and mergetwo per gateheartbeatspare unitone codeamber screensupervisor carddate in codered screenbox office look-upcolour trainingrandom auditone-page cardNothing here is clever. The point is that every failure has been assigned to a layer before the night it happens.

What the season taught

The most common real-world failure was not technical. It was a guest arriving with a screenshot of a friend’s ticket, which the amber screen handled correctly and the staff handled badly, because the policy for it had never been written down.

So the second season shipped with a policy rather than a feature: what to do, who to call, what to say, and what happens to the guest. The scanner had been right for a year; the organisation needed the sentence.

What we delivered

Ticketing
Four types, one code
Standard, concession, group and complimentary, all readable from a single code.
Wallet
App, PDF or print
The same code in three carriers; the scanner does not care which.
Scanning
Local decision
Codes cached before doors; a scan answers in milliseconds with no network call.
Offline
Log and merge
Scans queue locally and reconcile after close, with conflicts flagged rather than guessed.
Gate
Three colours and a card
Green, amber, red, plus a printed escalation card for the one case staff always ask about.
Reporting
Sold, scanned, admitted
Three numbers per night, reconciled, with no-shows attributed rather than estimated.

What it changed

Three seasons without a duplicate admission and without a gate stoppage, on hardware that costs less than the queue it removed. The venue now sells to capacity on the night, which it never did on paper.

The offline-first decision also changed procurement. Scanning hardware is now bought on cache size and battery, not on connectivity, because the door is a place where the network is a convenience rather than a requirement.

CONTACT US

We provide a custom made service for just drop us a line.
We would be glad to have feedback from you.