[erlang-questions] "calling" a gen_fsm

Roger Lipscombe roger@REDACTED
Wed Sep 23 18:25:37 CEST 2015


On 23 September 2015 at 17:01, Jesper Louis Andersen
<jesper.louis.andersen@REDACTED> wrote:
> Process isolation is another reason as to why you want to take a look at
> splitting up stuff. If you runs the processing loop in a separate process,
> it can be easier to handle the case where that part of the system crashes.
> In other situations, there are advantages to writing a single gen_fsm with a
> separate reply back to the caller. It really depends on the situation what
> is the best course of action :)

It's also easier to test if you don't have to do it by poking your FSM
with binary.



More information about the erlang-questions mailing list