<div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Erlexec has been running in several production systems.  Yet, I can't claim that it's bug free as the application has many non-trivial features and handles various edge cases.  So if you find an issue, patches are welcome.</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">It may become a bottleneck if you heavily rely on redirection of standard I/O streams of spawned processes, in which case erlexec does the I/O marshaling between file descriptors.  If that's the case, I suggest to redesign your application, so that it conveys I/O to Erlang by some other means, freeing erlexec from the role of being the "broker" and leaving it to do its main function - process supervision.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Dec 1, 2015 at 6:36 PM, Alberto Rosso <span dir="ltr"><<a href="mailto:flagg.abe@gmail.com" target="_blank">flagg.abe@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hello guys,<div>    our erlang application is running several c nodes and shell scripts, handled by erlexec. For some reason i'm going to debug deeper, the port exec-port crashes when decoding a string received from the erlang side.</div><div><br></div><div>This issue brought a couple of questions to light.</div><div>Isn't it bad to use exec-port as the unique gateway for all of my c nodes? I mean, a single crash of the exec-port frustrates the advantages of the supervision tree we've designed to make the application robust to hardware faults.</div><div>Another doubt is about the possibility for exec-port to become a performance bottleneck of the whole application, as the number of c nodes (and their throughput from/to the erlang app) is growing.</div><div><br></div><div>Could be starting more than one instance of the exec application, an (awful) solution?</div><div><br></div><div>Your thoughts are really appreciated.</div><span class="HOEnZb"><font color="#888888"><div>-- <br><div>Alberto Rosso<br><span style="color:rgb(0,0,102);font-family:tahoma,helvetica,arial,sans-serif;line-height:15px;font-size:x-small">save a tree: please don't print this email unless strictly necessary</span><br><div><div><font size="1"><font color="#333399" face="tahoma, helvetica, arial, sans-serif"><span style="line-height:15px"><br></span></font></font></div><div><font size="1"><font color="#333399" face="tahoma, helvetica, arial, sans-serif"><span style="line-height:15px">L'esperienza e la filosofia che non generano l'indulgenza e la carità sono due acquisti che non valgono quello che costano. (Alexandre Dumas figlio)<br></span></font></font><div><span style="font-family:tahoma,helvetica,arial,sans-serif;font-size:12px;line-height:15px"><font color="#333399"><br></font></span></div></div></div></div>
</div></font></span></div>
<br>_______________________________________________<br>
erlang-questions mailing list<br>
<a href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a><br>
<a href="http://erlang.org/mailman/listinfo/erlang-questions" rel="noreferrer" target="_blank">http://erlang.org/mailman/listinfo/erlang-questions</a><br>
<br></blockquote></div><br></div>