Skip to main content

Tokio Tick Architecture

The backend engine uses smart timing to check for updates and send them to the display. This document explains how that timing works and why itโ€™s efficient.

How the Backend Checks for Updates

The Timer System

What Happens Each Tick

Four Timeout Mechanisms

Tick Frequency Adapts to Display Speed

Frame Duration Calculation

Cost Savings When Display Slows Down

Summary

Timer Wheel

Instant timer operations no matter how many timers are running.

Dual Watching

Watches for both new data and timer ticks, handles whichever comes first.

Frame-Based Timing

Timeouts measured in frames, automatically adapt to display speed.

50% Less Work

When display slows down, backend does half the work automatically.