Re:Http-server, a simple zero-configuration command line htt...
by unshift on Thursday June 16, 2011 @11:28PM
(#2664219)
once i wanted to serve a quick and dirty page of 200 thumbnails but python's HTTP server choked after a few people tried it concurrently. it's single threaded and just wouldn't hack it.
luckily if you have twisted installed, you can run "twistd web -n -p PORT --path ." it's just as easy as the basic HTTP server but way faster.
I can think of use cases for wanting to be able to serve >1,000 requests a second.
I can't think of any that fall into both categories ... am I just lacking imagination?