3 ms·
> which is what most web applications and web servers should be spending the vast majority of their time doing. Sure... but if you have dozens of threads spend
by mlyle 3y ago
> which is what most web applications and web servers should be spending the vast majority of their time doing.
Sure... but if you have dozens of threads spending most of their time doing I/O, that still leaves many threads wanting to do things other than I/O.
> The difference between threads and processes on Linux is relatively minor.
Except having any shared state between processes is painful. If you're hitting an outside database for everything, it's fine.