AI Is Killing the Cult of Statelessness in Cloud Computing
Swift Death of Statelessness

For 15 years, cloud computing treated statelessness as sacred: spin up containers, let them die, stay resilient. AI reasoning models and multi-turn agents are inherently stateful, carrying prompt history, context windows, and expensive KV-caches. Round-robin routing discards that cache, forcing saturated GPUs to recompute tokens already processed—a deadweight loss known as cache thrashing. The networking frontier is now an economic allocation problem: balancing transport latency against the marginal cost of GPU recomputation.
We spent a decade decoupling state from compute. Now the laws of physics and economics are forcing us to design intelligent proxies to put them back in the same room.
- PaulKeeble
One thing that is very apparent with AI is that the state has to sit very close to the processing to get good performance and even trips across relatively high bandwidth links like PCI-E are killer when the amount of data per action is high.
AI is putting pressure on an architecture choice we made many decades ago to put memory over links away from the compute, that is now crumbling down and with it all the architectures that rely on it. Remains to be seen how many other applications will require a similar shift based on very large amounts of data per user action.
This was something I had been thinking about for a while with parallel processing, mostly what we were doing was running more requests in parallel and precomputing things that took longer. I was starting to work on problems that required that parallelism within a request, going the opposite and harder direction that requires more fundamental change to the architecture. It runs into the same limitation of bandwidth to the data.
- ahartmetz
The previous stuff wasn't actually stateless, state access was just restricted through slow (compared to a local file system) interfaces such as SQL or remote storage APIs. It's a heavy-handed, cumbersome way to enforce discipline, the kind that enables scaling while also requiring it because it kills performance.
- zelphirkalt
Do we not have solutions yet, for sharing caches between machines? But maybe that is already too much latency for current AI use-cases and we want that cache to be on the same machine even.