Real-time timer sync across multiple devices uses four techniques together: persistent WebSocket connections, a server-authoritative clock as the source of truth, client-side prediction that ticks locally between updates, and periodic reconciliation messages. The result is sub-second drift across any number of devices, even on imperfect networks.
Here’s the full stack behind it — without the marketing fluff.
The challenge of real-time sync
When multiple devices need to display the same countdown, traditional HTTP polling isn’t enough. Network latency, varying connection speeds, and processing delays cause timers to drift apart — a problem the audience never sees but every operator hates.
WebSockets: the foundation
EZStageManager uses WebSocket connections for real-time communication. Unlike HTTP requests that require a new connection per message, WebSockets maintain a persistent, bidirectional connection. Updates are pushed to every device the moment something changes.
How synchronisation works
Our approach uses four key techniques:
- Server-authoritative time: the server is the source of truth for timer state
- Clock offset calculation: each client measures its offset from server time
- Predictive rendering: clients tick locally between server updates
- Periodic reconciliation: sync messages keep everyone aligned
Handling network issues
Real networks misbehave. We handle the common failure modes through:
- Automatic reconnection with exponential backoff
- State reconciliation after a disconnect
- Local timer continuation during brief outages
- Clear visual indicators for connection status
Why fast matters
Human perception can detect timing differences as small as a tenth of a second. For stage work, having every display show the same time matters for a clean, professional look. Architecting for that constraint up front is much cheaper than retrofitting later.
Conclusion
Real-time sync is a solved problem, but solving it wellrequires careful attention to network realities and user experience. The result is a timer that “just works” across any number of devices — which is the only kind of timer you want on showday.
EZStageManager Team
The folks building EZStageManager. We write about live event production, real-time systems, and the unglamorous craft of running a show on time.