[erlang-bugs] Weird documentation of distributed applications

Loïc Hoguin <>
Wed Dec 12 13:21:01 CET 2012


Hello,

I got pointed at a weirdness in the documentation by Eric Pailleau. This 
chapter:
 
http://www.erlang.org/doc/design_principles/distributed_applications.html#id74957

says:

"The system configuration files for  and  are identical, 
except for the list of mandatory nodes which should be [, 
] for  and [, ] for "

First, that's incredibly clumsy. Having a different configuration file 
per node like this is just impractical if you're going to have 50 of them.

But looking at the code it appears you can actually put [, 
, ] everywhere, because all this does is to ping 
everything and make sure they're up before continuing. A ping to 
yourself *does* work so that makes the whole sentence pointless.

What to do?

-- 
Loïc Hoguin
Erlang Cowboy
Nine Nines
http://ninenines.eu


More information about the erlang-bugs mailing list