Skip to content
All work

Build · A multi-site platform

Availability monitoring that does not cry wolf

A monitoring system people mute is worse than no monitoring at all. Both builds here are organized around one decision: a four-state machine instead of an up/down binary.

states, not two
4
states, not two
Tier 2 worksites covered
30+
Tier 2 worksites covered
implementations of one design
2
implementations of one design

01

The state machine is the whole design

HEALTHY, CONFIRMING_DOWN, DOWN, CONFIRMING_UP. The two confirming states exist purely to absorb transient failures before an alert fires. They are the difference between a monitoring system people trust and one they filter into a folder they never open.

02

The serverless build

Cloudflare Workers with Firebase Realtime Database as the state store, covering Tier 1 core endpoints and more than thirty Tier 2 worksites.

03

The systemd build

The same concept as a single-file Bash systemd service: parallel ping sweeps, JSON reported over HTTP on port 9000, and the speedtest worker decoupled so a slow bandwidth check never blocks liveness reporting.

04

What shipping it twice taught

Building the same system at two very different weights is the fastest way to find out what it actually needs. The serverless version buys global vantage points and managed state. The Bash version proves how much of the rest was never load-bearing.

Tools and platforms

  • Cloudflare Workers
  • Firebase RTDB
  • Bash
  • systemd
  • JSON over HTTP

Next

Bug bounty and independent research