Actions
Server network-backendDetails » History » Revision 10
« Previous |
Revision 10/12
(diff)
| Next »
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 about 8 years ago · 10 revisions