News for hackers. Stuff that matters.
Re:Mongrel2: State Machines, HTTP-0MQ, Events by signa11 on Wednesday July 07, 2010 @05:33AM (#1493765)
erlang also provides a number of 'behavior' modules e.g. gen_fsm/gen_server etc. which takes out the drudgery of writing boilerplate network client/server code. w.r.t your fsm, are there timeouts also happening at some states ? might be required to avoid holding onto precious resources if either end becomes unresponsive for whatever reason...
Re:Mongrel2: State Machines, HTTP-0MQ, Events by zedshaw on Wednesday July 07, 2010 @11:56AM (#1494522)
I had them in there, but was having a problem getting the base state machine right, so took them out. Cool that you noticed though.