Checker and status page talk to the API only #49

Closed
opened 2026-11-22 00:00:10 +00:00 by Sebi · 0 comments
Owner

Only cmd/api connects to Postgres and Redis. Checker and status page authenticate to the API with an agent token and use a versioned agent API (/agent/v1). The API distributes due checks to a randomly chosen live checker instance of the region; instances fetch jobs by long polling, which doubles as heartbeat, and report results in batches. Jobs of instances that disappear are handed to other instances. This makes cloud, hybrid and self-hosted deployments use the same protocol.

Only cmd/api connects to Postgres and Redis. Checker and status page authenticate to the API with an agent token and use a versioned agent API (/agent/v1). The API distributes due checks to a randomly chosen live checker instance of the region; instances fetch jobs by long polling, which doubles as heartbeat, and report results in batches. Jobs of instances that disappear are handed to other instances. This makes cloud, hybrid and self-hosted deployments use the same protocol.
Sebi added this to the M4 Checker milestone 2026-11-22 00:00:10 +00:00
Sebi closed this issue 2026-11-22 00:45:10 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: ZB-Server/uptimesebi#49