Re:Show HN: Servasm – Literate web server in x86 assembler
by filsmick on Saturday June 20, 2015 @04:36AM
(#9749379)
IIRC, Nginx can use sendfile too, it's just not there by default because the transfer happens entirely in kernel space and hence you cannot apply filters like gzip on the response (correct me if I'm wrong).
Re:Show HN: Servasm – Literate web server in x86 assembler
by dingdingdang on Saturday June 20, 2015 @01:14PM
(#9750448)
Yes, that's what my sense is: it would, within its very limited domain, beat nginx and co. fairly easily.. its interesting because this sort of thing could be made to be modular and thus feature extendable without the overhead if done in a smart enough fashion - many webservices today are sufficiently specialized that they only use a fraction of the features that modern webservers include.
Re:Show HN: Servasm – Literate web server in x86 assembler
by chralieboy on Saturday June 20, 2015 @01:16AM
(#9749089)
nginx is highly configurable at compile time. You can strip out a considerable amount of functionality (modules, in nginx lingo) for performance.
It's easy to make something fast when you only implement a very small number of features.