More specifically, at the core of erl, what algorithm is used to understand presence and availability of other nodes? How does it handle network partitioning? Are all the nodes just constantly pinging each other?
For example, if there are two nodes, and the network cable is pulled, how does it decide what to do? Presumably one node should go idle as it's orphaned, while the other carries on, otherwise you get a split-brain behavior..
In reading up on paxos and raft, it seems like it must be doing leader election internally, but I can't seem to find any comprehensible explanation -- I left my PhD in my other pants.. Can anyone explain this voodoo in english?