[erlang-questions] supervise a python process

Dmitry Vasiliev <>
Fri Feb 11 13:17:01 CET 2011


11.02.2011 14:11, Roberto Ostinelli пишет:
> i need to integrate existing python code with a SOA erlang layer, which
> provides some distribution facilities.
>
> i'm thinking to use BERT to enable communication between the erlang layer
> and python. the main point to not use ports is that, afaik, that if a python
> port crashes the whole erlang VM goes down, and the point of using erlang
> supervisors to provide fault-tolerancy gets lost.

It's just not true. Only the process which created the port (the 
connected process of the port which is linked to the port) is terminates 
when port is closed. So you can easily use supervisors with ports.

You can try ErlPort (http://erlport.org/) for ports based integration of 
Erlang and Python.

-- 
Dmitry Vasiliev <dima at hlabs.org>
http://hlabs.org
http://twitter.com/hdima


More information about the erlang-questions mailing list