EDIT (5/13/2019): midproc and midprocrunner have been renamed to reap and reaper, respectively.
I ran into a situation with a project where I need...
For further actions, you may consider blocking this person and/or reporting abuse
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 child procress. I guess, this will also be a simple solution.
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.
Cheers!