Erlang: What's a good way to automatically assign node names?

Posted by mwt on Stack Overflow See other posts from Stack Overflow or by mwt
Published on 2010-05-15T22:54:57Z Indexed on 2010/05/15 23:00 UTC
Read the original article Hit count: 186

Filed under:

I want to have an EC2 based cluster that can grow and shrink at will. No node will be special in any way nor do I want them to have to coordinate their names with any other nodes. I don't want to hard code the names since I want to use one image and spin them up as needed. I understand nodes have to have names to communicate, though. What's a good strategy for automatically and dynamically coming up with a name at start script time?

© Stack Overflow or respective owner

Related posts about erlang