2 ms·
>The problem is that stateful connections suck and create artificial complexity when you don’t need them. Instead of managing the state of your app you’re now m
by coldtea 6y ago
>The problem is that stateful connections suck and create artificial complexity when you don’t need them. Instead of managing the state of your app you’re now managing the state of your app and a connection to a remote server. HTTP is a stateless protocol on top of a stateful socket connection. It wasn’t designed this way by accident.
Then again, it wasn't designed this way to build applications with, either. It was designed to serve documents (the HT in HTTP).