The engineering decisions behind
StarKnox's offline capabilities.
Local Edge Server
Every StarKnox deployment includes a local Linux-based edge server running our optimized database engine. All venue operations — POS, RFID, machine control, analytics — execute locally.
Sub-300ms RFID Performance
Achieving sub-300ms tap response requires co-locating the RFID processing logic with the database. Network round-trips are eliminated. Tap events are processed entirely on-device.
Cloud Sync Engine
When internet is available, the StarKnox sync engine uploads all local transactions to the cloud using a conflict-resolution algorithm that handles out-of-order events safely.
Security Architecture
End-to-end encryption, JWT-based device authentication, role-based access control, and audit logging. All local data is encrypted at rest using AES-256.
The Sync Process
Internet Goes Down
StarKnox detects connectivity loss. Edge server continues all operations without interruption. Transactions are queued locally.
Edge Server Takes Over
All POS, RFID, machine control, and analytics run on local hardware. Guests never notice. Operations continue at full speed.
Events Buffered Locally
Every transaction is written to the local event log with full CRDT metadata for conflict-free sync when connectivity returns.
Internet Reconnects
Sync engine detects connectivity. Begins uploading buffered events in chronological order using the conflict resolution algorithm.
Cloud Fully Synchronized
Cloud database reflects all offline transactions. Analytics, reports, and multi-venue views updated. No data loss, no manual action.
Offline Architecture FAQ
How long can a venue run without internet?
Indefinitely. The edge server has no maximum offline duration. We have venues that operate in remote locations with internet connectivity measured in hours per day, not continuous.
What happens when internet reconnects?
The sync engine automatically detects connectivity and begins uploading buffered transactions. The process is transparent to operators — no action required.
What if the edge server hardware fails?
StarKnox supports hot-swap edge servers with automatic state replication. Critical state is also cached on POS terminals for graceful degradation.
Is the local data backed up?
Yes. The edge server performs local RAID-based redundancy and also syncs to cloud when connected. You never lose data.
Can I access analytics when offline?
Yes. All analytics data is stored locally on the edge server and accessible from the dashboard regardless of internet connectivity.
