The Convergence Problem
Feeder telemetry arrives as continuous, high-frequency streams from smart meters, substation transformers, and inverter clusters. The operational question is always the same: which feeder is about to overload, and how should substation routing rebalance before it happens? Answers delayed beyond seconds are answers not delivered.
The constraint set was brutal: a sub-50ms time-to-first-token under thousands of concurrent inference requests, deterministic state estimates on a fixed 10-second cadence, strict zero-retention data policies, and all traffic confined to a private VPC.
Gateway Architecture
The core was an event-driven inference gateway deployed inside private VPC boundaries. It decouples ingestion from inference: telemetry arrives on a bus, is normalized and windowed per feeder, then dispatched as bounded jobs to a pool of reasoning workers with pre-warmed KV caches and pinned model instances.
The deterministic state-estimation pass is the safeguard: the model proposes a route adjustment, and a separate rule engine validates it against grid topology and safety constraints before any instruction reaches a substation. Models propose; determinism disposes.
Zero-Retention Compliance
No telemetry, prompts, or outputs are persisted. The gateway streams through memory, encrypts in transit, and tears down every context window at request completion. Compliance tooling asserts, on every request path, that no write to persistent storage occurs — enforced both in application code and at the platform layer via restricted egress policies.
Results
Lessons
Pre-warmed KV caches were worth more than any model swap. Priority-based job ordering kept overloaded feeders colliding with low-latency targets. And the deterministic validation layer — boring by design — is the reason operators trusted the system in the first week instead of the first year.