Concept Flow - Handling worker crashes and restart
Start Master Process
Fork Worker Process
Worker Runs
Worker Crashes?
No→Continue Running
Yes
Master Detects Crash
Master Forks New Worker
Worker Runs
The master process starts and forks a worker. If the worker crashes, the master detects it and restarts a new worker, keeping the system running.