Miiglu
Onflyt
2025 · Product EngineerA pay-per-use deployment platform on Cloudflare: pod-isolated workloads, zero idle cost, sub-second cold starts and zero-downtime blue/green deploys.
- cost while idle
- $0
- cold start
- <900ms
- traffic gap on deploy
- 0ms
stopped pods bill nothing
sub-second on Cloudflare
atomic KV swaps

Problem
Serverless platforms make you choose between isolation and a bill you can't predict. Onflyt gives every workload its own isolation boundary while billing only for what actually ran.
What I built
- Central router Worker with KV-backed routing and atomic KV swaps, so a deploy is a routing change rather than a restart. Live traffic never sees a gap.
- Pod-based workload isolation with resource-level RBAC, so tenant boundaries hold even as workloads share the platform.
- onflyt-cli (Ink + React, published to npm) for one-command deploys with real-time log streaming.
- Companion product Podgres: managed Postgres on Cloudflare Sandboxes with PgBackrest continuous backups to R2 via WAL agent streaming, PgBouncer pooling, and an embedded Outerbase Studio UI.
System design
onflyt-cli
Ink + React, on npm
Control plane API
Router Worker
central ingress
KV routing map
Atomic KV swap
zero-downtime blue/green
Isolated pods
Sandbox SDK
Per-pod RBAC
Sub-second cold start
Podgres
managed Postgres
PgBouncer
connection pooling
PgBackrest
WAL streaming to R2
Stack
- Cloudflare Workers
- KV
- Sandbox SDK
- R2
- Postgres
- PgBouncer
- Ink
- React
- npm
