Watching the game
Uptime checks, game stability numbers and alerts.
Two things watch the game. A status checker inside the site runs the public status page and sends alerts. A separate ops worker watches from outside, so it keeps working when the game is down; only staff can open it.
How it works now
- The status checker is its own Durable Object (StatusWatch, switch STATUS_LIVE). Each minute it checks the website, sign-in, matchmaking, Cloud games in each region and each Dedicated server's health. A server is named by its region, never its address.
- The status page shows each part as Up, Slow or Down since when, a strip of 90 days, players and games per region and the last 10 incidents. It stores nothing in your browser.
- Alerts (switch STATUS_ALERTS_LIVE): down for 2 minutes, a Dedicated server over its limits for 3 minutes (tick p99 10 ms, event loop p99 50 ms, low memory), a region with players and no free room for 2 minutes, or a failed deploy check. One alert, one recovered, the same alert at most every 30 minutes, to a Discord webhook or ntfy, whichever is set.
- World also alerts on a Dedicated server: down 10 s, its rooms' tick p99 over 4 ms, CPU steal over 2%, low memory, or over 20 refused joins a minute.
- The ops worker checks the site every minute, keeps 30 days of uptime, copies the game's numbers for the staff Ops page, and holds the Deploy card.
- /api/health answers an outside monitor, since the status page can't load when the site is down.
Last checked: 16 Nov 2026.
Key decisions
| Decision | Why | Rejected | Date |
| The ops site on its own Worker | It keeps working if the game's site goes down | None recorded | 13 Nov 2026 |
| The status checker in its own object, never asking World | It answers when World is busy, and moves unchanged when the Worker is split | None recorded | 16 Nov 2026 |
| A public status page with servers named by region | People can check server status; an address is never shown | None recorded | 16 Nov 2026 |
| One alert, one recovered, at most every 30 minutes | Not recorded | None recorded | 16 Nov 2026 |
| An outside monitor on /api/health | The status page can't load when the site is down | None recorded | 16 Nov 2026 |
| An autoscaled server's removal is not an outage | Its open incident ends without a message | None recorded | 16 Nov 2026 |
Changes that mattered
- 16 Nov 2026: ntfy alerts go through a relay on our own server first, then directly, and a failed test alert says why. The bug
- 16 Nov 2026: a failed first boot of an autoscaled server posts its last 40 log lines (secrets hidden) to the Ops card and alerts. The bug
- 16 Nov 2026: every game placed on Cloud in a region with a Dedicated server is listed on the Ops page. The bug
- 16 Nov 2026: each room logs its clock falls with their cause, and the Ops page shows them. Room clock pauses on Cloudflare
- 15 Nov 2026: room heal marks an eased room on the Ops page. Lower bot level when a room lags
- 15 Nov 2026: a status site separate from the game checks it every minute and collects stability numbers from rooms and browsers. How we build and test TagBalls
Known limits and next
- The outside monitor on /api/health is the owner's to set up; whether it is set up isn't recorded here.
- Where players play from is counted by nearest city for 14 days, with no page to view it yet.
- Alerts reach a phone only through the Discord webhook or ntfy; no email.
Uptime
The ops worker, every minute: the home page, the server and its database, the API and the game connection. Two failed checks in a row count as an outage. It shows uptime over 24 hours, 7 days and 30 days, every outage, response times and each deploy.
Game stability
- From game rooms, once a minute: how late ticks run (each should come 16.7 ms after the last; 40 ms or more late is a stall), the longest gap between updates, and CPU per tick, with the room's region and map.
- From players' browsers, once a minute during a game: gaps between updates over 50 and 100 ms, late updates, corrections to your ball, ping, and slow frames over 50 ms. Never your name or id, and nothing from hidden tabs.
- Broken down by region, by map and by device, with the worst rooms of the last hour.
Over the 24 hours to 2026-11-14 it showed ticks at most about 3 ms late, gaps over 100 ms between updates 4 to 9 times a minute in the US and 22 in Europe, and a typical ping of 33 to 40 ms in the US and 90 in Europe.
Alerts
Warnings show on the status site when the game is down, when rooms near their limit, or when its copy of the game's numbers is old. Phone alerts come from the status checker above.