We can't find the internet
Attempting to reconnect
Something went wrong!
Hang in there while we get back on track
Most of the operating systems are multi-process and multi-user operating systems. This has a lot of positive aspects, like to be able to do more than one thing at the time at our devices, but it introduces a lot of complexities that in most cases are hidden from the users and developers. These things still need to be handled in one or another way. The most basic problems are:
- some processes need to be started before user can interact with the OS in meaningful (for them) way (for example mounting filesystems, logging, etc.)
- some processes require strict startup ordering, for example you may need logging to be started before starting HTTP server
- system operator somehow need to know when the process is ready to do their work, which is often some time after process start
- system operator should be able to check process state in case when debugging is needed, most commonly via logs
- shutdown of the processes should be handled in a way, that will allow other processes to be shut down cleanly (for example application that uses DB should be down before DB itself)
continue reading on hauleth.dev
⚠️ This post links to an external website. ⚠️
If this post was enjoyable or useful for you, please share it! If you have comments, questions, or feedback, you can email my personal email. To get new posts, subscribe use the RSS feed.