Hacker News new | past | comments | ask | show | jobs | submit login

> any idea if it's easy or possible to dynamically join and leave clusters?

Don't know the specifics in Erlang, but in Elixir you can just use Node.connect/1 and Node.set_cookie/2: https://hexdocs.pm/elixir/Node.html

Edit: There's also stuff like libcluster (https://github.com/bitwalker/libcluster) that allow for this at a higher level afaik.




We are happy users of libcluster but there's also https://github.com/mrluc/peerage for automatic node discovery.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: