Ask HN: Make makes nginx so fast ?
I'm currently developping a network service and would like to know what makes nginx so fast ?
Is there a document (whitepaper) describing its working principle ?
Erlang might be an interesting choice for your network service, as it allows you to write this sort of code very naturally. It depends on what you're doing, though... Python has some frameworks that work this way, although none so smoothly as what Erlang gives you. Tcl has also had this capability in its core for years, although, like Python, you have to be careful about writing 'blocking' code, something that you don't have to worry about so much in Erlang.
It all depends on what sort of compromises you want to make in terms of speed, ease of programming, and the expected amount of traffic, though.