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.)