无状态的快速消亡
Swift Death of Statelessness

原始链接: https://bexx.io/post/swift-death-of-statelessness/

作者反思道,云计算花了15年优化无状态容器,但AI负载本质上是有状态的,包含提示历史和昂贵的KV缓存。标准的轮询路由会丢弃这些缓存,迫使GPU重新计算token并导致缓存抖动。因此现代网络必须在传输延迟与GPU重计算成本之间取得平衡,重新将状态与计算结合。

黑客新闻 最新 | 过去 | 评论 | 提问 | 展示 | 招聘 | 提交 登录 无状态的迅速消亡 (bexx.io) 6 分 由 bexxmodd 2小时前 | 隐藏 | 过去 | 收藏 | 讨论 帮助 指南 | 常见问题 | 列表 | API | 安全 | 法律 | 申请 YC | 联系 搜索:
相关文章

原文

My drive home from work is always spent in total silence. The monotony of Route 101 (it's not a flex) has an uncanny way of clearing cognitive noise. Today, somewhere in that quiet stretch of highway, reflecting on my work in the Kubernetes ecosystem, it struck me just how completely our industry is reinventing itself.

For 15 years, cloud computing was worshiping a statelessness as an absolute deity. Build stateless containers, spin them up dynamically, let them die without consequence. And this architecture was simple, resilient, and economically predictable.

And then AI happened, violently dismantling prior art. Reasoning models and multi-turn agentic workflows are inherently stateful. Every interaction carries a prompt history, a context window, and an expensive KV-cache. When you route a prompt to an arbitrary node using standard round-robin load balancing, you discard that cache. You force saturated GPUs to recompute tokens that were already processed milliseconds ago.

In economics, we call this pure deadweight loss. In distributed systems, it's referred as cache thrashing. The architectural frontier of networking is no longer about blindly moving packets from point A to point B. It is an economic allocation problem: balancing network 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.

联系我们 contact @ memedata.com