Is there a way to discover network services (zeroconf/bonour) using Elixir?
I’ve got a very basic SSDP Client I’m working on right now. It also supports the Marvell SDP for the Radio Thermostat.
https://github.com/NationalAssociationOfRealtors/RosettaHome/blob/master/lib/rosetta/ssdp_client.ex
In building my Sonos Elixir library, Sonex; I had to do some SSDP stuff as well…
You can find it in the discovery module
I’d be really interested to hear more if people have got this to work.
Has anyone used mDNS fo solve this problem. I don’t know enough at the network to decide between these various solutions but I have found quite a few in my research
- A simple, yet powerful Erlang cluster bootstrapping application.
- Automatic cluster formation/healing for Elixir applications
- Module to query the Kubernetes API at startup and connect to other elixir nodes in pods
- Fork of shortishly erlang-mdns that extracts the server behavior.
I’m currently trying to get clustering setup in a multmachine vagrant environment but thinking that something like kubernetes might be more appropriate.