[erlang-questions] "calling" a gen_fsm

Jesper Louis Andersen jesper.louis.andersen@REDACTED
Wed Sep 23 18:01:37 CEST 2015


On Wed, Sep 23, 2015 at 3:25 PM, zxq9 <zxq9@REDACTED> wrote:

> I almost completely disagree with this view.


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 :)



-- 
J.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20150923/b8470735/attachment.htm>


More information about the erlang-questions mailing list