Hacker News new | ask | show | jobs
by ktharavaad 6093 days ago
If you want to know more about forking processes vs threading. You should look at TCPServer.py in the standard libary. You can look at the ForkingMixin class and the ThreadingMixin class.

A good Python server source code to read is the CherryPY WSGI server. You can read it in the web.py git directory here.

http://github.com/webpy/webpy/blob/master/web/wsgiserver/__i...