autodidaddict
Swapping out dist epmd et al - making a non point-to-point cluster
Greetings! I actually asked a similar question a long time ago but I couldn’t find it in search.
Basically what I want to do is make it so that two Elixir nodes can communicate with each other using a central broker rather than establishing point-to-point connections. I’m fine writing all the broker client stuff.
I assume that I’ll have to create my own registry, which should be easy. The next thing I need to do is replace the plumbing used by send. I vaguely remember someone here saying this is possible but again I couldn’t locate the post.
To sum up - is it possible to replace the dist protocol implementation with my own (that still adheres to the code contract)? If so, how do I do such a thing or is there a reference I can go to for this?
Most Liked
hkrutzer
You can take a look at epmdless for a way to run without EPMD, and implement a custom distribution protocol to replace the standard one.







