3 ms·
For a moment I thought it would do process takeover (hot reload) which is closer to impossible to get right. Nice, through not production ready yet. Through I
by dathinab 7y ago
For a moment I thought it would do process takeover (hot reload) which is closer to impossible to get right.
Nice, through not production ready yet.
Through I'm a bit hard pressed to find any good use-case for it. In nosy installations the binary _should_ not have the right to override any binaries at all, including itself. In Linux (and I think windows too by know) there is a form of update functionality provided by the system. Even if you do your own update for client side software it should be a separate binary (as the main binary should not be able to so so). Maybe it would be ok in a container, but the restarting the container would likely instead the update.
(As a side note I said should because I know that it's sometimes not the case, at least not without putting additional work into it. Still using a update mechanism like that would make it harder to make it the case in the future).