Project

General

Profile

Server network-backendDetails » History » Version 10

« Previous - Version 10/11 (diff) - Next » - Current version
gstrauss, 2016-09-11 00:59


server.network-backend option

server.network-backend

The basic network interface for all platforms at the syscalls read() and write(). Every modern OS provides its own syscall to help network servers transfer files as fast as possible

  • linux-sendfile - is recommended for small files.
  • writev - is recommended for sending many large files
  • posix-aio - uses librt (or libc on FreeBSD)
  • linux-aio-sendfile - available when libaio is installed on the system. On Centos 4/RHEL4, you can install libaio by doing

    yum -y install libaio-devel

Enabled when lighttpd is configured with --with-linux-aio

Comparison of performance with different network backends is available here

server.network-backend = "linux-sendfile"

Updated by gstrauss almost 3 years ago · 10 revisions