[Tutor] Low level socket and threading code in python in HUGEwebsites -

Kent Johnson kent37 at tds.net
Fri Aug 18 13:18:35 CEST 2006


anil maran wrote:
> thanks alan it is very enlightening
> can one of you guys who have experience building sites
> such as yahoo mail and stuff, explain what parts of a
> webserver needs to be multithreaded

Generally you need a thread or process for each HTTP request, otherwise 
you will process requests serially (one at a time) which severely limits 
the number of concurrent users you can have.

Kent



More information about the Tutor mailing list