hn.today

Swift Death of Statelessness

bexx.io24 points10 comments
Screenshot of Swift Death of Statelessness

The piece argues that cloud infrastructure is moving away from the long-standing ideal of stateless computing. For about 15 years, systems were designed around disposable containers that could be started and stopped freely, making services resilient, simple to operate, and economically predictable. That model fit conventional workloads, but AI reasoning and multi-turn agent workflows depend on retained context: conversation history, a model’s context window, and costly GPU key-value caches. Sending each request to any available machine, as ordinary round-robin load balancing does, can separate a request from the computation state it needs.

That separation wastes resources. When a request lands on a different GPU, the system may have to recompute tokens whose results were generated only moments earlier, adding latency and consuming scarce accelerator capacity. The central claim is that modern networking must therefore do more than route traffic efficiently: it must weigh transport delay against the cost of repeating computation and direct requests toward machines that already hold useful state. After years of deliberately separating state from compute, AI workloads are pushing infrastructure designers to reconnect them, using intelligent proxies and routing policies that treat placement as an economic allocation problem.

Read on bexx.io10 comments on Hacker News

Summary generated by AI from the linked article. hn.today is not affiliated with Hacker News or Y Combinator.

More in AI

The daily digest

Today's best Hacker News stories, summarized and screenshotted, one email a day.