Now that #85 has landed, we need to add the support for a single master process with multiple (configurable) children.
Why multiple processes instead of multiple, isolated threads? After discussing it with a few people, there are some advantages to using process:
Each process (worker) will be effectively sandboxed from the other processes (workers). This is a security benefit.
If a process crashes (due to a panic or abort), the master process can spin up another one. There is also the benefit that the crashing process cannot harm the other processes. This is a reliability benefit.
Now that #85 has landed, we need to add the support for a single master process with multiple (configurable) children.
Why multiple processes instead of multiple, isolated threads? After discussing it with a few people, there are some advantages to using process: