Skip to content
Opod

Design decisions

Why opod is built this way

Every major design decision in opod on one screen — what it gives you, what it costs, and the decision record behind it — and the architecture told as a short story.

These pages explain why opod is built the way it is. Each decision says what it gives you and what it costs. The other sections say how to use it.

Every decision on one screen

DecisionWhat it gives youWhat it costs
One leader per endpoint; workers join itA failure stays in one model; routing on live loadOne extra hop; one small pod per endpoint
Control plane off the request pathEndpoints serve through a control-plane outageChanges and embedded scaling wait for it
Front doors and a cell doorNo lost requests on a leader restart; one URLExtra door pods; +0.6 ms at p50 through the cell door
Workers named by boot idA re-created worker is never mistaken for the old one—
An embedded, inference-aware autoscalerScales on queue, KV and TTFT, inside measured VRAMFreezes while the control plane is down
KEDA as an option, per endpointScaling and wake from zero survive an outageOne reserved card per endpoint; KEDA must stay up
Kubernetes is the only executor, never the truthHealing and gang landing from Kubernetes; one APINeeds Kubernetes, or k3s from infra up
VRAM measured, never assumedA plan that does not fit is refused before any podUnmeasured cards are allocated whole
Dedicated by default, shared by choiceNo noisy neighbour unless you askA card may sit partly empty
Advise, do not refuseEvery shape the engine supportsYou can build a slow endpoint on purpose
Identities, not namesNever adopts or deletes what is not its ownLonger object names
Proven per engine and vendor, or refused by nameNo plan that fails at loadUntested combinations wait
No service pods; every dependency a portUsable at install; uses what you runYou provide Postgres
One deployer for every targetOne chart, one render, everywhereNo cloud-specific shortcuts
Digest-pinned, signed images, never built on nodesOne known build per endpointA patch needs a rollout
Verified rollouts that give back what they tookA change is proven before it is promotedMinutes per change
Usage facts, not pricesClean facts for your own pricingNo money view
Governance on the gateway's layerA request path with no governance costNo per-user limits without a gateway
Request content is not loggedA smaller privacy surfacePrompt logs live in your gateway
Core is Apache-2.0 and never knows the control planeRead, run and keep the request pathChanges must fit a frozen contract
A licence never stops a running endpointA lapse can never take traffic down— (no remote revocation, for us)
Training is a Job beside endpointsIdle cards used without double-bookingNot a training platform

Where a decision changed over time, these pages describe what the code does today.

The architecture as a short story

You own some GPUs. You want to serve a few open models behind an OpenAI-compatible API, and you do not want a model to fall over because something else did.

So each model gets its own endpoint. An endpoint is one leader, a small process with no GPU, and the workers that join it, each one an inference engine on its cards. The leader is the only thing clients talk to. It checks the key, waits for a free slot, picks the least busy worker and streams the answer. Everything it needs to do that sits in files in its own pod, so it does not need anybody else while it serves.

The control plane is the part that decides. It measures every card, keeps a ledger of what each worker holds, and refuses a plan that does not fit before anything starts. When you change a plan, it runs a rollout that proves the change with a real request before it lets the change stay. When traffic moves, its autoscaler adds or parks workers, or hands that job to KEDA when scaling must keep working without it. It does all of this through Kubernetes, which it uses to run things but never to remember what should run.

The control plane is also careful about what it does not do. It does not price your usage, log your prompts, or hold per-user budgets: your own systems and your gateway do those. It installs no database of its own: it uses yours. And it never stops what is running because of a licence.

The runtime under all of this, core, is open source. You can read it, run it alone with opod up and opod join, and keep it whatever you decide about the rest.

Last updated · Source: content/docs/design/index.mdx · View as Markdown