uranther
I have been thinking about setting up continuous delivery and I wonder:
Does running Elixir/OTP within a Docker container put you at a major disadvantage?
Will the application be able to use all the CPU cores and in general benefit from OTP’s design?
Maybe @jeffweiss can shed some light on the topic for us? ![]()
Trending in Questions
I’m working on a project that simulates the bumbl example in the programming phoenix book. It acts almost like an email client. We have a...
New
Hi everyone,
I am toying with the idea of building a “match maker” for giving personal help to people that wants to start coding.
I sta...
New
Hello,
I know there is an approach for handling lists that allows for optimized traversal, but I can’t recall the specific method (somet...
New
Documentation
While reading the Scoped Routes section, I noticed that the documentation currently refers to a problem without explainin...
New
So my question is quite simple and i have found no conclusive answer on forum, google or AI.
Should we use :erlang.float for Integer to ...
New
I recently noticed that Elixir’s Logger defaults its primary log level to :debug when no :logger, :level application configuration is pre...
New
I’m new to elixir and just tried to install the elixirLS extension for VScode(ium) and it is throwing some errors that I would like help ...
New
Other Trending Topics
Edit: 2026 May 15 - This post is archived.
Mob is alive!!
Main docs: mob v0.7.11 — Documentation
A bit of explanation for the slightly c...
New
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
I am happy to introduce the very α version of the new programming language compiled to BEAM.
Welcome Cure.
It has literally three kille...
New
Hi there! We created Gust: A task orchestrator inspired by Airflow.
For those who have never heard about Aiflow, it’s a Python-based wor...
New
Hi everyone!
The first release candidate for the Expert language server project is now available!
We’ve published a press release detai...
New
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
New
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #library
- #deployment
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #elixirconf
- #channels
- #exunit
- #discussion
- #code-sync
- #podcasts
- #javascript
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #ai
- #elixirconf-us
- #blog-post
- #elixir-ls
- #phoenix_html
- #iex
- #graphql
- #genstage
- #websockets
- #supervisor
- #advent-of-code
- #distillery
- #processes
- #api
- #forms
- #elixirconf-eu
- #metaprogramming
- #hex










Showing Posts 25 to 16- Show Best Posts
- Show All (oldest first)
- Show All (newest first)
ijunaidfarooq
I wonder if you can share your Dockfile and K8s setup with us? is that open source?
tristan
Since this thread is still getting traffic I thought I’d add that it is no longer the case that you need anything special (like some distillery script that bitwalker mentions) for Erlang to stop gracefully with
init:stop()when aSIGINTis sent to the process like Kubernetes does.I think it was 20 that this got added.
And there is an issue of schedulers that I’d like to see solved. You can set the number of online schedulers while Erlang is running, but there isn’t, as far as I know, anything that will automatically update this if the underlying cpu resource allocated by like kubernetes is changed.
dazuma
There are other options for state-preserving rolling deploys. At the last ElixirConf, I did a demo of a rolling deploy while preserving (i.e. migrating) a dynamic set of processes along with their state. It uses a distributed Supervisor and a CRDT—no disk or database persistence needed, and it works well enough for an interactive game application. In general, these are just technical problems for us to solve, and I think there are still creative solutions out there.
NobbZ
Yes, probably, but hot-code-reloading is state-aware, rolling deploys only if you persist your state on disk. Its like starting up a new machine and reconstructing necessary state from the environment and persistet data.
ijunaidfarooq
Then I think they have rolling deploys with no downtime?
jaimeiniesta
Found it, if you disable the SSL option for the repo in
config/prod.exs, it works fine.I guess it’s a safe option as both the app and the database live within the Flynn cluster.
dropfen
Not yet, I’ll try to test in the next days, when I have some more time.
My first naive tries ended with the same error.
jaimeiniesta
Flynn is really great, I’m also following that blog post to deploy a Phoenix application, but I get an error when trying to migrate the database (for a new app):
Have you deployed a Phoenix app with Postgres in Flynn?
dropfen
Found an easy to use flynn workflow.
http://nsomar.com/how-to-use-flynn-to-deploy-a-phenix-app/
It’s using heroku buildpacks.. which gives you the base to put your own logic into the build process..
I found it actually the most straightforward way to deploy an app.. so far.
And I really like the git control flow..
As Bonus, it has some really nice dashboard, to check the logs and so on
imranismail
I’m went the Kubernetes way as well as @bitwalker suggested. Using the endpoints API to connect them together. https://github.com/bitwalker/swarm/blob/master/lib/swarm/cluster/kubernetes.ex