4 ms·
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 th
by jacques_chester 16y ago
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_webserver_from_ok_cupid_the_devs_at_a_dating/ http://www.reddit.com/r/programming/comments/exkk3/ok_webser...
[2] http://pdos.csail.mit.edu/~max/docs/okws.pdf http://pdos.csail.mit.edu/~max/docs/okws.pdf