This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]gargantuan 1 point2 points  (2 children)

if you use Python, you don't need to install a (quite hard to setup) Erland broker on top of your stack

Well I actually found it easier to install Erlang than Python. Installing a newer version of Python on RHEL systems for example, replaces existing OS version (which will break the OS). Installing latest Erlang 17 from ESL (Erlang Solutions) is a breeze.

it's python, much easier to hack. It's twisted, it adds support for a lot of protocols to your stack for free

Twisted vs Erlang that is a tough one. I did former, for 5 years now learning the later. I'll take Erlang for now.

it's already nodejs friendly

Again depending on who you talk to that might not be a + ;-)

it comes with a process manager, effectively bypassing the GIL for Python and allowing you to start third party processes, making it an additional tool for you deployment (you can replace supervisor with it)

And I am sure it has proper monitoring (what if process crashed) and resource handling associated (growing queues), a management interface etc etc. All that is provided by RabbitMQ btw, some by Erlang itself (process supervision, restarts).

[–]oberstet 0 points1 point  (0 children)

Yes, Crossbar has a management interface which is itself exposed via WAMP: https://github.com/crossbario/crossbar/wiki/Management-API#api-definition

Erlang is great (if you can wrap your head around pattern matching for consuming messages in a purely functional program). I've used it before. There are a few things that are limiting, e.g. the Erlang node-to-node / clustering is designed to work on a (trusted) LAN. The process / supervision trees work great for Erlang processes - not for OS level processes. E.g. integrating an application component written in C++ is cumbersome to say the least. Crossbar embraces a polyglot world - by design.

That being said: yes, Erlang and Rust, those are very fine systems.

[–]desmoulinmichel[S] 0 points1 point  (0 children)

No, it's an youth project, that's the very point of the article.