←back to thread

267 points lawik | 2 comments | | HN request time: 0s | source
Show context
Thaxll ◴[] No.42188989[source]
Hot code update is one of those thing I don't understand, just use a rolling deployment, problem solved. You have a new version of the code without loosing any connection.

It's one of those thing that sound nice on paper but a actually couple your runtime with ci/cd, if you have anything else beside Erlang what do you do? You now need a second solution to deploy code.

replies(4): >>42189132 #>>42189195 #>>42189231 #>>42189251 #
1. fiddlerwoaroof ◴[] No.42189231[source]
The other perspective on this is that, at some level of your system you are always doing a hot code reload: terraform, kubernetes, etc. are taking a new deployment description in and reconciling it with the existing state of the world. Wouldn’t it be nice if this process was just more code in your preferred programming language rather than YAML soup?

BEAM encourages you to structure your program as isolated interacting processes and so it’s not that far from a container runtime in itself.

replies(1): >>42200879 #
2. may13noon ◴[] No.42200879[source]
I like this comment