News for hackers. Stuff that matters.
Re:Elixir in Depth – Reading and personal notes by dgllghr on Thursday August 17, 2017 @09:58AM (#15036793)
I think one of the difficulties here is that much of the functionality that comes from, for example, Docker + Kubernetes exists as part of the BEAM VM. A lot of the development being done today in deployment is around Docker and Docker clustering technology, which means that it often feels like you are doing things the old fashioned way when using BEAM clustering & networking technology.

There are ways to set up these systems in symbiotic configurations, like having an Elixir/Erlang/BEAM cluster that has auto-joining thanks to external service discovery. However, to use the hot-swap functionality, you are going to be working with the BEAM VM directly, which means going through the Docker container boundary.

Know that if you choose to go with BEAM and no Docker, you will still have access to amazing deployment features (like hot swapping, as you mentioned), but also clustering, service discovery, monitoring, etc. You're just going to be spending a lot more time at the command line without the pretty interfaces and the sleek modern tools.

To get a better understanding of running BEAM, I highly recommend "Designing for Scalability with Erlang/OTP". You'll have to learn Erlang to get through it, but IMO it's the best introduction.

Re:Elixir in Depth – Reading and personal notes by sb8244 on Thursday August 17, 2017 @10:01AM (#15036824)
> you will still have access to amazing deployment features (like hot swapping, as you mentioned), but also clustering, service discovery, monitoring, etc.

Can you elaborate on this statement? My understanding is that you can have these things (minus hot swapping) cleanly on Docker.

Re:Elixir in Depth – Reading and personal notes by dgllghr on Thursday August 17, 2017 @10:03AM (#15036844)
Yes, you definitely do. What I meant is if you didn't use Docker and just used BEAM, you would still have access to all those features that are present in Docker + clustering technology.
Re:Elixir in Depth – Reading and personal notes by sb8244 on Thursday August 17, 2017 @10:31AM (#15037094)
Thanks, you're definitely right!