[erlang-questions] Help with design of distributed fault-tolerant systems
Thu Oct 8 14:28:53 CEST 2015
On Thu, Oct 8, 2015 at 7:23 AM, Martin Karlsson
> Any insight (reading material, open source software) into how to design
> distributed, fault-tolerant systems with Erlang/OTP is welcome.
It should be pointed out, for future Googlers, that a simple archetype
available in OTP for active/standby (or 1+N) is:
- distributed application
- distributed database
1) Set the application variable 'distributed' in the kernel
application to indicate which nodes the application may run.
2) Create mnesia table(s) with copies at all nodes.
3) On application start take over the IP address (ifconfig, arping)
Note that there is really no new code to write to make you application
More information about the erlang-questions