Erlang is a general-purpose, garbage-collected programming language and runtime environment, with built-in support for concurrency, distribution and fault tolerance.
Erlang is a general-purpose functional programming language and runtime environment. It has built-in support for concurrency, distribution and fault tolerance. Erlang is used in several large telecommunication systems from Ericsson. Erlang is open source and available for download on GitHub.
One of the features of Erlang (and, by definition, Elixir) is that you can do hot code swap. However, this seems to be at odd with Docker, where you would need to stop your instances and restart new ones with new images holding the new code. This…
The basic scenario is this: I need to load text from a database, and then turn that text into an Elixir module (or an Erlang module) and then make calls into it. The text is effectively the same as a module file. So this is a form of hot code…
I'm trying to write a recursive fun in an Erlang shell, but I keep getting an unbound variable exception:
1> Foo = fun(X) -> Foo(X) end.
* 1: variable 'Foo' is unbound
This probably goes without saying, but I'm not trying to create an infinite…
I have a bad node (it doesn't exist) in the mnesia cluster data when I get:
> mnesia:system_info(db_nodes)
[bad@node, ...]
How do I remove it from the cluster?
I tried:
> mnesia:del_table_copy(scheme, bad@node).
{aborted,{not_active,"All replicas…
On Ubuntu, the maximum number of sockets which can be opened seems to be governed from following:
$ cat /proc/sys/net/ipv4/tcp_max_orphans
262144
As per one of the presentations by Rick Reed (from WhatsApp), these guys took it up to 2 million…
I created the rahm_test_controller.erl file in src directory, and added an action named hello.
In /priv/rahm.routes, I added this line for home page:
{"/",[{controller,"test"}, {action, "hello"}]}.
If I launch the server with ./init-dev.sh, it…
I'm ask/answering this question because it hung me up & it's likely someone else will have the same problem.
Install of RabbitMQ x64 v2.8.6 on Windows Server 2008 x64.
After Erlang install using default install location to C:\Program…
With all the hype around parallel computing lately, I've been thinking a lot about parallelism, number crunching, clusters, etc...
I started reading Learn You Some Erlang. As more people are learning (myself included), Erlang handles concurrency in…
I am using RabbitMQ with Grails, and a problem cropped up this morning. When I run rabbitmqctl status it tells me:
C:\Users\BuildnTest2>rabbitmqctl status
Status of node 'rabbit@BUILDNTEST2-PC' ...
Error: unable to connect to node…
I am wondering how pattern matching is usually implemented. for example in Erlang do you think its implemented at the byte-code level( there's a byte-code for it so that its done efficiently) or is it generated as a series of instructions (series of…
I installed erlang and rabbitmq in the way mentioned in the official documentation. But then, when I do this
C:\Program Files\RabbitMQ Server\rabbitmq_server-3.7.0\sbin>rabbitmqctl add_user XXXXXX YYYYYYY
it gives me the following error...
Error:…