High Performance WEBrick on BSD #
Here’s a great hack by Eric Hodel: High Performance WEBrick (at the very bottom.) Which leverages his socket_sendfile and socket_accept_filter hacks to speed things up through system calls. Although he says these currently work only on BSD, you could probably swap in the sendfile gem, which is supported on Linux. (Found among the great stuff littered throughout ozmm’s tumblecast of the Silicon Valley conference.)

