Hot code reloading is always more work than just blue-green and should be avoided if necessary. For example, author of Learn You Some Erlang writes [1]:<p>&gt; if you can avoid the whole procedure (which will be called relup from now on) and do simple rolling upgrades by restarting VMs and booting new applications, I would recommend you do so.<p>Erlang grew out of the challenges faced by telecoms industries such as what do you do when blue-green isn&#x27;t an option? Think an in-use packet switch that is the only point of contact between two networks. No way to take the switch down for maintenance without <i>some</i> interruption in service, which gets messy when dealing with timeouts. In the Armstrong thesis paper he gives another example [2]:<p>&gt; Usually in a sequential system, if we wish to change the code, we stop the system, change the code and re-start the program. In certain real-time control systems, we might never be able to turn off the system in order to change the code and so these systems have to be designed so that the code can be changed without stopping the system. An example of such a system is the X2000 satellite control system developed by NASA.<p>This power comes at a cost, though. LYSE again:<p>&gt; It is said that divisions of Ericsson that do use relups spend as much time testing them as they do testing their applications themselves. They are a tool to be used when working with products that can imperatively never be shut down.<p>The point being, hot code reloading is an additional feature that can come in handy but for most of HN&#x27;s audience probably won&#x27;t be relevant; the cost outweighs the benefits of just blue-green deploying it.<p>[1] <a href="http:&#x2F;&#x2F;learnyousomeerlang.com&#x2F;relups#the-hiccups-of-appups-and-relups" rel="nofollow">http:&#x2F;&#x2F;learnyousomeerlang.com&#x2F;relups#the-hiccups-of-appups-a...</a>
[2] <a href="http:&#x2F;&#x2F;www.erlang.org&#x2F;download&#x2F;armstrong_thesis_2003.pdf" rel="nofollow">http:&#x2F;&#x2F;www.erlang.org&#x2F;download&#x2F;armstrong_thesis_2003.pdf</a>