logoalt Hacker News

ahartmetz • today at 8:58 AM • 1 reply • view on HN

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.


Replies

anilakar • today at 9:44 AM

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.