Re:They say that stocks go down during the day and up at night
by twic on Tuesday February 07, 2023 @10:12AM
(#34693798)
Restarting software once a day to work around memory leaks is real amateur-hour stuff. Mine does it every 10-20 minutes.
[ Parent
| on HN ]
Re:They say that stocks go down during the day and up at night
by TeMPOraL on Wednesday February 08, 2023 @06:38PM
(#34717356)
The real pros generalized this concept into so-called "supervision trees" - building your system as a hierarchy, where whenever a program misbehaves in any way, it gets restarted by a higher-level program, which itself will also be restarted if it can't get a handle on things, recursively to the top of hierarchy.
(Yes, talking about Erlang/OTP here.)