How do the supervisor trees avoid a single point of failure? Let's say I build "etcd in Erlang". How would I tell the cluster that there should be N processes running, each on a different node? And is there anything in OTP that would help me elect a leader or do I still have to implement that myself?
I have no experience with OTP but have read some books and did toy projects.
I have no experience with OTP but have read some books and did toy projects.