News for hackers. Stuff that matters.
Re:Why did OKCupid write their own web server? by jacques_chester on Thursday March 10, 2011 @06:24PM (#2311258)
I remember this coming up at reddit a few months ago[1]. At the time I downloaded and read the paper on the design[2]. It all made sense to me because my own thinking had been heading in the same direction.

OKWS is less a web server than it is an architecture of servers. It's the difference between sendmail and qmail/postfix.

It has nice security and performance properties because each service is run as a separate user, with a separate process. Logging is handled by an independent daemon. Request demultiplexing is handled by a simple daemon that binds to port 80. Actual HTTP parsing is handled by a shared library that services link to.

[1] http://www.reddit.com/r/programming/comments/exkk3/ok_webser... [2] http://pdos.csail.mit.edu/~max/docs/okws.pdf

There are no comments on this comment yet.