3 ms·
I feel like I agree with the general ethos of the project. And I am also a fan of pragmatism; I think Fred Brooks referred to our trade as “toolsmiths” and I fe
by avg_dev 4y ago
I feel like I agree with the general ethos of the project. And I am also a fan of pragmatism; I think Fred Brooks referred to our trade as “toolsmiths” and I feel it is an apt word. Our work product exists solely to fill a need or to enable things that were not previously possible. I feel like I work hard not to be an idealist or to view well-written code as an end to itself.
But I must confess,
> Systemd also restarts the app daily to make sure it works properly long term
leaves me with a viscerally negative feeling. I feel like daemons should be able to run for years unless there is some kind of leak. Maybe I am wrong.
- layer8 4y agoThey should, but you don’t know if they will, and, when they suddenly crash after two years, whether they will be able to restart. Restarting daily ensures that any problems will be caught early, and that the last known-good configuration is only a day ago and not two years ago.
- whateveracct 4y agoRestarting daily also ensures you never find entire classes of lurking bugs involving memory leaks, in-memory caches, stuff like that.
- layer8 4y agoOn the other hand, they also never become relevant then.
- speed_spread 4y agoYou can see the daily restart as a restartability test. Programs expecting to run forever may develop "bad habits"