Server network-backendDetails » History » Revision 3

« Previous | Revision 3/11 (diff) | Next »
yusufg, 2007-02-05 00:30

#!rst option =============================

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
gthread-aio    - available from lighttpd 1.5. As of r1605, this is compiled in by default (ie, lighttpd will not compile without glib2 >=     2.4.0 installed).  
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

Comparision of performance with different network backends is available [ here]
:: = "linux-sendfile"


Updated by yusufg over 13 years ago · 3 revisions