OK, this is one of those “I have no idea where to look for this info, but a lot of people round here probably have overlapping interests” OT questions…
Where can I find information on how to implement an HTTP server? (not the HTTP protocol, but the server itself)
More specifically, I’d like a reference for people who want e.g. tutorials on writing HTTP servers that are a complement to the RFC. Personally, I’ve built up knowledge of the differnt HTTP servers - their architectures, their implementation details, their performance tricks etc - from many small observations and many different sources over the years. But when people ask “how do you do this?” I can’t find any easy pointers. The best I can come up with is “Uh, well you could try reading the Apache source code…” but that’s not a good solution really :(.
Or, even better, would be sites that compare and contrast web server implementation details (I know these exist - I’ve read articles on this topic going back many years; but I can’t remember where particular articles were nor would they be so relevant today).
The biggest problem I find is I can’t seem to construct google searches with any value. I keep hitting one billion variants of people trying to help each other install apache. (any search with “web server” or “http server” in on the web itself are, ahem, a bit hopeful :(). I’m still trying, but … anyone got some bright ideas? I’ve moved on to trying specialist searches (e.g. trying to find stuff specifically on how HTTP servers implement file transfer - just basic stuff like articles containing text saying “stream, don’t read-it-all-into-a-buffer-then-flush it (because you won’t be able to serve many files at once, nor any large files at all)” etc).