2 ms·
Multiple processes are a bit easier to deal with than threads per servers - mostly because POSIX signals interacts poorly with threads. It's also more secure b
by astrange 5y ago
Multiple processes are a bit easier to deal with than threads per servers - mostly because POSIX signals interacts poorly with threads.
It's also more secure because you should not mix different users' requests in the same process if you can avoid it.
nginx runs on a one process per core model and more or less does everything correctly.