ckhrysze
I just saw this article and am curious if it has any ramifications regarding OTP nodes talking with each other when running as a container.
I haven’t had to really learn docker netwoking, and I haven’t done enough with multi instance elixir/erlang environments to know without a lot of additional research.
Trending in Discussions
As the title says, please share what you’ve been up to with Elixir. Whether that’s been learning it, looking into it, making stuff with i...
New
The obligatory hello world thread!
Who are you and where are you from? :stuck_out_tongue:
New
@chrismccord : I just saw the Extract AGENTS.md from Phoenix.new into phx.new generator commit to the phoenix project.
My initial shotgu...
New
I was working on an Ecto migration and I needed a timestamp. So, for the nth time, I looked up the different data types for timestamps, a...
New
Fly’s CEO posted this recently - Turn And Face The Strange · The Fly Blog
It says that Fly is going all-in on sprites, which is a worry ...
New
We’re evaluating API mocking tools for OpenAPI-based projects and would love to hear what other teams are using.
We’re particularly inte...
New
Is there a word for the ~> symbol used in Version strings?
Do you also just call it a Squiggle Arrow™ ?!
New
Other Trending Topics
Hey, I’m Jesse and I’m the main contributor behind Dexter, a full-featured, lightning-fast Elixir LSP optimized for large codebases. It s...
New
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
New
ExRatatui lets you cook up rich terminal UIs in Elixir, powered by Rust’s ratatui via Rustler NIFs. Build interactive terminal applicatio...
New
Corex is an accessible, unstyled UI component library for Phoenix that integrates Zag.js state machines using Vanilla JavaScript and Live...
New
Hello everyone. After busy few months I am happy to announce v0.1.0 of Emerge & Solve.
They are GUI (Emerge) and State management (S...
New
Emily is an Elixir library that runs Nx computations on Apple’s MLX. Install it as the default Nx backend and Nx, defn, Axon, Nx.Serving,...
New
Chat & Discussions>Discussions
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
- #blog-post
- #phoenix_html
- #ai
- #iex
- #graphql
- #elixirconf-us
- #genstage
- #websockets
- #supervisor
- #advent-of-code
- #distillery
- #processes
- #api
- #forms
- #hex
- #security
- #metaprogramming










Showing Posts 1 to 4- Show Best Posts
- Show All (oldest first)
- Show All (newest first)
OvermindDL1
Just need to expose the correct ports, I actually had my docker instances share the erlang node distribution of the host but I also trusted the code I ran as I wrote it.
But yeah, if they support bridging, which it looks like they do, you could network mesh across that safely.
sabri
I just saw this thread, and I thought I could get useful info, as I am running my dockerized phoenix app behind Amazon Elastic Beanstalk load balancer inspired by this useful article ,
But I don’t know how to let OTP nodes talking with each other, as each OTP node on an individual EC2 instance, how would let OTP nodes get aware of each other? what are the options that I have? I know I can use Redis as a connector, but I prefer the OTP way, as Elixir is already built on top of Erlang, and this should be easy to do, but its my first app to deploy..
Any idea? or gist to share?
Also, isn’t host networking mode better in term of performance than bridge mode?
ckhrysze
At this point I have more questions than answers, but this seems like a good place to reference what I’ve found thus far. If all the nodes are known ahead of time, it seems like Running Elixir and Phoenix projects on a cluster of nodes - DockYard is a pretty good reference.
If the nodes are coming in and out, like what is occurring in my scenario, this project seems promising: GitHub - shortishly/mdns: Multicast DNS in Erlang/OTP · GitHub
As my elixir app is a side project, I haven’t had the time to actually try either. Hopefully someone that has can offer some insight.
Regarding networking modes…I just don’t know enough about them to offer anything there.
sabri
Thank you for answer and links