lighttpd

Original author(s) Jan Kneschke
Developer(s) Lighttpd Developers
Initial release March 2003 (2003-03)
Stable release 1.4.30 / December 18, 2011; 59 days ago (2011-12-18) [±]
Preview release 1.5.0 / February 3, 2007; 5 years ago (2007-02-03) [1] [±]
Written in C
Operating system Cross-platform
Available in English
Type Web server
License BSD
Website www.lighttpd.net

lighttpd (pronounced "lighty")[2] is an open-source web server more optimized for speed-critical environments than common products while remaining standards-compliant, secure and flexible. It was originally written by Jan Kneschke as a proof-of-concept of the c10k problem - how to handle 10,000 connections in parallel on one server,[3] but has gained worldwide popularity.[4]

Contents

Premise

The low memory footprint (compared to other web servers), small CPU load and speed optimizations make lighttpd suitable for servers that are suffering load problems, or for serving static media separately from dynamic content. lighttpd is free software/open source, and is distributed under the BSD license. It runs natively on Unix-like operating systems as well as Microsoft Windows[5].

Application support

lighttpd supports the FastCGI, SCGI and CGI interfaces to external programs, permitting web applications written in any programming language to be used with the server. As a particularly popular language, PHP performance has received special attention. Lighttpd's FastCGI can be configured to support PHP with opcode caches (like APC) properly and efficiently. Additionally, it has received attention from its popularity within the Python, Perl, Ruby and Lua communities. It is a popular web server for the Catalyst and Ruby on Rails web frameworks. Lighttpd does not support ISAPI.

Features

Limitations

Lighttpd officially does not support sending large files from CGI, FastCGI, or proxies [8] unless X-Sendfile is used.

Usage

Lighttpd is used by a number of high-traffic websites, among them Meebo and YouTube. Wikimedia runs Lighttpd servers [9][10][11][12] as does SourceForge.[12] Three of the most famous torrent listing websites, The Pirate Bay, Mininova and isoHunt, which have more than 1,000 hits per second, also use Lighttpd.[13] Lighttpd currently holds fifth place on the Netcraft "Web Server Survey" (November 2010).[14]

See also

References

  1. ^ "lighttpd-1.5.0-pre". Official site. 2007-02-03. http://www.lighttpd.net/2007/2/3/lighttpd-1-5-0-pre. Retrieved 2011-01-18. 
  2. ^ "lighttpd fly light". http://www.lighttpd.net/. Retrieved 2010-06-13. "all of these describe lighttpd (pron. lighty)" 
  3. ^ "lighttpd: Story". lighttpd.net. http://www.lighttpd.net/story. Retrieved 22 December 2008. 
  4. ^ "Powered By lighttpd". Lighttpd wiki. http://trac.lighttpd.net/trac/wiki/PoweredByLighttpd. Retrieved 22 December 2008. 
  5. ^ "Downloads @ WLMP Project". http://en.wlmp-project.net/downloads.php?cat=lighty. Retrieved 2011-03-27. "LightTPD webserver for Windows Systems" 
  6. ^ Lighttpd - Bug #1101: SSI include virtual does not run cgi - lighty labs
  7. ^ "lighttpd releases". lighttpd.net. http://download.lighttpd.net/lighttpd/. Retrieved 20 June 2010. 
  8. ^ "Memory usage increases when proxy+ssl+large file". lighttpd bug tracker. http://redmine.lighttpd.net/issues/1283. Retrieved 2011-04-11. 
  9. ^ Brion Vibber (2008-08-26). "Apache mod_php in wikipedia". Wikimedia wikitech-l mailing list. http://lists.wikimedia.org/pipermail/wikitech-l/2008-August/039208.html. Retrieved 2008-08-27. 
  10. ^ Tim Starling (2008-08-27). "Apache mod_php in wikipedia". Wikimedia wikitech-l mailing list. http://lists.wikimedia.org/pipermail/wikitech-l/2008-August/039211.html. Retrieved 2008-08-27. 
  11. ^ Domas Mitzuas (2008-08-27). "Apache mod_php in wikipedia". Wikimedia wikitech-l mailing list. http://lists.wikimedia.org/pipermail/wikitech-l/2008-August/039212.html. Retrieved 2008-08-27. 
  12. ^ a b "Powered by Lighttpd". The official site. 2007-04-04. http://www.lighttpd.net/2007/4/4/powered-by-lighttpd. Retrieved 2008-12-22. "lighttpd is used by many well-known sites. The typical scenario is using lighttpd as off-load server to push out static content and leave to complex work to another server." 
  13. ^ "Fly Light With Lighttpd Web Server". ServerWatch. http://www.serverwatch.com/stypes/servers/article.php/17191_3678346. Retrieved 2008-02-12. 
  14. ^ "Web Server Surveys". Netcraft. http://news.netcraft.com/archives/2010/11/05/november-2010-web-server-survey.html. Retrieved 2010-11-23. 

External links

WLMP