re: Detaching Unix Child Processes with Go VIEW POST

re: Nice article. Not sure about "GO" but why don't you try to check server process status from child process and if it's not running simply terminate ...

Howdy Mayur, thanks! Checking the status of the parent process is certainly something that can be done, but that's only possible in an ideal situation. Developing a service network in a decoupled way, can increase fault tolerance and scalability. When developing for reliability, you want to reduce the damage that could be caused by a catastrophic failure. That is where detached processes can really shine. If a service network is built in this way, then you could easily remove/add/upgrade any individual services and the network as a whole would continue to function properly with little to no data-loss or effect to the end user.


code of conduct - report abuse