How does shared memory vs message passing handle large data structures?

One thing to realise is that the Erlang concurrency model does NOT really specify that the data in messages must be copied between processes, it states that sending messages is the only way to communicate and that there is no shared state. As all data is immutable, which is fundamental, then an implementation may very … Read more

Future investment: Erlang vs. Scala [closed]

Erlang has been designed for concurrent, fault-tolerant communication systems. You can easily write servers that handle large number of network connections and (thanks to one garbage collector per Erlang process) the servers can retain soft real-time characteristics (i.e., the whole server is not paused until GC finishes). You can also hot-swap Erlang code, distribute it … Read more

Erlang Processes vs Java Threads

Repeat after me: “These are different paradigms” Say that aloud 20 times or so — it is our mantra for the moment. If we really must compare apples and oranges, let’s at least consider where the common aspects of “being fruit” intersect. Java “objects” are a Java programmer’s basic unit of computation. That is, an … Read more

RabbitMQ fails on Error: unable to connect to node rabbit@TPAJ05421843: nodedown

I had this same problem today. There were no cookie or firewall problems and windows reported that the service was running successfully. This is what finally fixed it: Run RabbitMQ sbin command prompt as administrator. Run “rabbitmq-service remove” Run “rabbitmq-service install” For some reason the service set up by the installer did not configure several … Read more

Erlang’s let-it-crash philosophy – applicable elsewhere?

It’s applicable everywhere. Whether or not you write your software in a “let it crash” pattern, it will crash anyway, e.g., when hardware fails. “Let it crash” applies anywhere where you need to withstand reality. Quoth James Hamilton: If a hardware failure requires any immediate administrative action, the service simply won’t scale cost-effectively and reliably. … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)