3 ms·
Amusing arguments for statelessness from the ØMQ Guide by Pieter Hintjens [1]: > "If there's one lesson we've learned from 30+ years of concurrent programming,
by kbouck 11y ago
Amusing arguments for statelessness from the ØMQ Guide by Pieter Hintjens [1]:
> "If there's one lesson we've learned from 30+ years of concurrent programming, it is: just don't share state. It's like two drunkards trying to share a beer. It doesn't matter if they're good buddies. Sooner or later, they're going to get into a fight. And the more drunkards you add to the table, the more they fight each other over the beer."
...
> "Code that wants to scale without limit does it like the Internet does, by sending messages and sharing nothing except a common contempt for broken programming metaphors."
[1] http://zguide.zeromq.org/page:all#toc45 http://zguide.zeromq.org/page:all#toc45