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.
Popular in Questions
Other popular topics
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #deployment
- #library
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #channels
- #elixirconf
- #exunit
- #discussion
- #code-sync
- #javascript
- #podcasts
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #elixir-ls
- #phoenix_html
- #iex
- #blog-post
- #graphql
- #genstage
- #ai
- #websockets
- #supervisor
- #advent-of-code
- #elixirconf-us
- #distillery
- #processes
- #forms
- #api
- #metaprogramming
- #security
- #performance









