Y
Hacker News
new
|
ask
|
show
|
jobs
by
cpursley
198 days ago
This is neat, regarding clustering - can this work with distributed erlang/elixir?
2 comments
jabr
198 days ago
I haven't tried it, but EPMD with DNS discovery should work just fine, and should be similar to this NATS example:
https://github.com/psviderski/uncloud-recipes/blob/main/nats...
Basically just configure it with `{service-name}.internal` to find other instances of the service.
link
psviderski
198 days ago
I don't know what the specific requirements for the distributed erlang/elixir but I believe the networking should support it. Containers get unique IPs on a WireGuard mesh with direct connectivity and DNS-based service discovery.
link
Basically just configure it with `{service-name}.internal` to find other instances of the service.