single threaded web servers

single threaded web servers

Steve Litt slitt at troubleshooters.com
Sun Jul 3 01:35:10 IDT 2016


On Sun, 3 Jul 2016 07:13:13 +1000
Amos Shapira <amos.shapira at gmail.com> wrote:

> Thanks for the explanation. I like this.
> How would a single-threaded process take advantage of muti- CPU?

Threads is just one method of multiprocessing. IIRC, back in the day
Apache multiprocessed by forking a new process for every HTTP
connection. Certainly those processes would be apportioned among the
many processors or cores.
 
SteveT

Steve Litt
June 2016 featured book: Troubleshooting: Why Bother?
http://www.troubleshooters.com/twb



More information about the Linux-il mailing list