←back to thread

268 points lawik | 1 comments | | HN request time: 0.208s | 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. rozap ◴[] No.42189195[source]
But what if you have long lived stateful connections? And you don't want a deploy to take forever?

Ofc you can say "don't do that" but sometimes it's just the way it is...

But I agree, 99% of the time a rolling update is easier and works fine.