high performance server design approach
Anthony ''Ishpeck'' Tedjamulia
ishpeck at ishpeck.net
Thu Nov 15 14:11:56 UTC 2012
On Tue, Nov 13, 2012 at 08:23:38AM -0200, Friedrich Locke wrote:
> 0) To have a single process "accepting" incoming connection on port 80 and
> send the new socket fd to one of the http server in a round-roubin manner,
DJB's publicfile does something rather similar.
http://cr.yp.to/publicfile.html
You could spend all day wondering. But if you really want to
know and not just argue, you should do as the author of that web
server says: "Profile. Don't speculate."
It may just be that context switches are not the real bottleneck
in your service.
More information about the freebsd-questions
mailing list