Reading notes from 2025; revised November 17, 2026. Reported architecture and scale refer to the source period.

Optimize the path around inference

David Cheney’s talk describes Copilot’s completion-serving architecture at its presentation date. The request-volume and latency figures refer to that account, not current traffic. The useful design is the proxy boundary between IDE clients and model hosts.

A proxy can centralize request validation, routing, compatibility handling, and cancellation. That matters when clients update at different speeds: a server-side correction can mitigate a bad request pattern without waiting for every editor extension to change.

Connections are part of latency

Connection establishment and network distance can be significant alongside model work. Reusing connections can avoid repeated setup. HTTP/2 multiplexing and stream cancellation are mechanisms to evaluate, not a blanket promise that changing a protocol solves all latency problems.

For a hypothetical completion, measure request upload, routing, model queueing, time to first byte/token, and completion time separately. The mean of one boundary cannot be compared directly with a percentile measured at another boundary.

Cancellation has a resource effect

If a user continues typing, an old completion may no longer be useful. Propagate cancellation and observe whether upstream work actually stops. Closing the client response without cancelling model work can leave substantial wasted computation.

I would test regional failure, old-client requests, large contexts, and cancelled calls. A proxy adds an operational dependency, so its own overload and fallback behavior deserve explicit limits.

Serving Copilot Completions Through a Proxy

Conceptual illustration; labels describe responsibilities, not a deployment specification.

References