3 ms·
It's worth noting that distillery is deprecated in favor of mix releases, which don't support relups out of the box, and specifically warn against them due to t
by Volundr 2y ago
It's worth noting that distillery is deprecated in favor of mix releases, which don't support relups out of the box, and specifically warn against them due to the complexity involved in writing code to support them correctly.
It's a cool feature that's no doubt amazing for applications that need it, but it brings a fair amount of complexity vs other deployment strategies.
- superdisk 2y agoYeah, note that this article is from 2016. I distinctly remember during that time that these hot-swap deployments were all the rage in the Elixir community, and then fell out of fashion with time.
- thibaut_barrere 2y agoGood point. Someone shared this in case someone wonders: https://elixirforum.com/t/how-to-tweak-mix-release-to-work-with-hot-code-reloading/65188 https://elixirforum.com/t/how-to-tweak-mix-release-to-work-w... > I’ve spent some time understanding how to do hot code reloading with releases built using mix release, and here I’d like to detail the steps needed, in hopes that it will help someone.