Hacker News new | ask | show | jobs
by kragen 1128 days ago
if you like this, you might like httpdito

http://canonical.org/~kragen/sw/dev3/httpdito-readme

http://canonical.org/~kragen/sw/dev3/server.s

it's a 2-kilobyte executable written in i386 assembly that can handle 20000 requests per second on my laptop, but only serves up files from the filesystem; no cgi or reverse proxy

instead of being single-threaded or preforking it just forks a child per request

1 comments

> If you don’t do that part, it will be over 4kB instead of under 2kB. If you really care about that, you’re probably insane.

Love it!