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.
To me, avoiding statefulness has become synonymous for avoiding responsibility, not across software components but across whole organizations.
Everyone wants to write stateless functions and outsource persistence to someone else. Suddenly when one remote microservice call goes wrong you're left in inconsistent state and cannot automatically roll back the successful changes you have done so far.
I am not sure even the most ardent AI maximalist thinks all compute will move to being an LLM call? Caching can get you so far; but getting the AI to write a classical program for things called millions of times is staying around.
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.
You get huge discounts on cached tokens if you upload the same history a second time. This relies on them already having that history in a statefull cache.
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.
To me, avoiding statefulness has become synonymous for avoiding responsibility, not across software components but across whole organizations.
Everyone wants to write stateless functions and outsource persistence to someone else. Suddenly when one remote microservice call goes wrong you're left in inconsistent state and cannot automatically roll back the successful changes you have done so far.
I am not sure even the most ardent AI maximalist thinks all compute will move to being an LLM call? Caching can get you so far; but getting the AI to write a classical program for things called millions of times is staying around.
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.
Just so happens there is a post on sharing caches today https://news.ycombinator.com/item?id=50637686
Using AI is still stateless. It's just that the history has to be uploaded each time.
You get huge discounts on cached tokens if you upload the same history a second time. This relies on them already having that history in a statefull cache.
The cache of LLMs fills a few orders faster than the experience of developer takes to grow with a new environment.