Erlang is a pretty powerful language with a robust Virtual Machine but it can’t solve all the problems.
A developer should always remember to use the right tool for the right job and Valeo lets you do that.
With it, you can delegate the heavy work for some external programs without sacrificing the fault tolerance of your OTP application.
is a drop-in replacement for the Erlang open_port/2
Whenever you are tempted to call open_call in your program, use Valeo instead.
It provides simple monitoring primitives to manage and monitor externals programs (written in Erlang or not).
Valeo ensures the programs under control behaves correctly (ex. the external program terminates when the port terminates,
is restarted if needed, etc.).
As a side node, Valeo embraces the OTP principles and integrates naturally into supervision trees allowing to implement
restart strategies and the like for external programs.
Valeo has been tested and is known to run on Windows, Linux, and Mac OS X ... 32/64-bit.
It will likely work fine on most UNIX systems too.
Immediate benefits for your programs are:
- Proactive process monitoring
- Reliable control of the external programs under supervision
- Ensure external programs termination in any case
- OTP way to communicate with external programs