4 ms·
Does Apache can do zero-copy for static content? nginx could on properly configured system. TLS kills this, alas, and, I think, with TLS OpenSSL will be bottle
by blacklion 3y ago
Does Apache can do zero-copy for static content? nginx could on properly configured system.
TLS kills this, alas, and, I think, with TLS OpenSSL will be bottleneck for static content, not server.
- water9 3y agoI think it has more to do with the event driven nature of nginx vs the thread per connection nature of Apache.
- toast0 3y agoIf you're looking for this, you want kTLS, plus or minus nic accelerated kTLS. Read the Netflix CDN presentiatons for the state of the art, and see what you can make work with your system, etc.
- blacklion 3y agoI know abut Netflix work, and even some of this work trickled down to base FreeBSD (and opensource), but is still very fragile, not completely open-sourced and require very special hardware (1 or 2 models of specific NICs with specific versions of firmware) to work.
- rb12345 3y ago"EnableSendfile On" will enable that on Apache, and has been around since Apache 2.0.44. It's not enabled by default though, and as you say, TLS breaks it.