[erlang-questions] Erlang/OTP libraries/modules replaced by third party projects

Jesper Louis Andersen jesper.louis.andersen@REDACTED
Sun Sep 11 10:27:59 CEST 2016


On Sun, Sep 11, 2016 at 6:16 AM, Leo Liu <sdl.web@REDACTED> wrote:

> eldap support is poor, the app isn't even proper OTP


"Isn't proper OTP" is often code-speak for "doesn't work well under
failure" or "the failure mode isn't handled". In other words, the system
works well until failure, and then it starts becoming fragile.

In 'eldap's case, opening a connection spawn_link/1's a worker process and
ties it to the current process. A more OTP-like approach would have been to
use 'proc_lib' to make the spawned process adhere to the OTP design
principles, but perhaps there isn't a need for it to do so. Tobbe is no
newcomer to Erlang and he generally knows what he is doing, so chances are
he had good reason to handle the problem as he does.


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


More information about the erlang-questions mailing list