PidgeIoT System Architecture

A complete topology mapping the data flow from constrained edge devices, through Cloudflare's global compute network, down to managed PostgreSQL storage.

Bring Your Own (optional)

Off-Edge Services

Cloudflare Edge Compute

Endpoints

Kratos session cookie

Ed25519-signed 69-byte token

proxy_to_pigeon_do

X-User-Id

firmware upload / Range download

best-effort sync

enqueue telemetry

consumer write (history)

optional, per device

User (WASM Dashboard)

IoT Device(s)

fancier Worker
(Static WASM Dashboard Assets)

dovecote Edge Router
(HTTPS / CoAP-over-TLS Ingestion)

Pigeon Durable Object
(1:1 per device, SQLite, source of truth)

Cloudflare Queue
(Telemetry buffer)

R2 Bucket
(Content-addressed firmware)

Hyperdrive

Ory Kratos
(Dashboard sessions, VPS via Cloudflare Tunnel)

Managed PostgreSQL
(Cross-device mirror, telemetry history, identities)

InfluxDB-line-protocol endpoint
(per device)