4 ms·
Zed Shaw uses state machines in Mongrel2 to handle connections. http://sheddingbikes.com/posts/1278464593.html http://sheddingbikes.com/posts/1278464593.html
by pragmatic 14y ago
Zed Shaw uses state machines in Mongrel2 to handle connections.
http://sheddingbikes.com/posts/1278464593.html http://sheddingbikes.com/posts/1278464593.html
Here's the image of the state machine: http://sheddingbikes.com/mongrel2_state.png http://sheddingbikes.com/mongrel2_state.png
Now imagine having something like that (say a prettier version of that chart) for web interactions with your complex web app.
- swah 14y agoA related tweet from him: "I love state machines. They turn asynchronous event problems into nice tidy well known problems."