The whole platform runs on Cloudflare's edge. A single Worker serves the widget loader, the iframe frame, the public API, and the real-time stream. State lives in D1 (SQLite at the edge), KV (rate limits, caches), R2 (attachments), Durable Objects (per-page and per-site rooms for SSE fan-out), and a Queue for background work like webhooks and email dispatch.
The customer dashboard is a SvelteKit app on Cloudflare Pages, sharing the same D1 database. No cross-region replication to think about; Cloudflare runs it everywhere.
End to end: cold start under 50ms, widget loader under 3kb gzipped, comment submission to live broadcast under 200ms in practice.
runtime
Cloudflare Workers + Pages
real-time
Durable Objects + SSE
background
Cloudflare Queues + Cron
dashboard
SvelteKit on Pages
email
Resend (graceful no-op without key)