lighttpd

From Wikipedia, the free encyclopedia
Jump to: navigation, search
Lighttpd
Lighttpd logo.svg
Original author(s) Jan Kneschke
Developer(s) Lighttpd Developers
Initial release March 2003; 11 years ago (2003-03)
Stable release 1.4.35 (March 12, 2014; 7 months ago (2014-03-12)) [±][1]
Preview release 1.5.0 r2698 (December 7, 2009; 4 years ago (2009-12-07)) [±]
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 optimized for speed-critical environments while remaining standards-compliant, secure and flexible.[citation needed] 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]

Premise[edit]

The low memory footprint (compared to other web servers),[5] small CPU load and speed optimizations[6] 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.[7]

Application support[edit]

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. Lighttpd also supports WebDNA, the resilient in-memory database system designed to build database-driven websites. It is a popular web server for the Catalyst and Ruby on Rails web frameworks. Lighttpd does not support ISAPI.

Features[edit]

Limitations[edit]

Lighttpd (1.4.x) officially does not support sending large files from CGI, FastCGI, or proxies [14] unless X-Sendfile is used.

Usage[edit]

The LAMP software bundle (here additionally with Squid). A high performance and high-availability solution for a hostile environment

Lighttpd is used by a number of high-traffic websites, among them are Bloglines and Xkcd.[15] It was used in the past by Meebo and YouTube.[16] Wikimedia also runs Lighttpd servers.[17][18][19][20]

See also[edit]

References[edit]

http://redmine.lighttpd.net/issues/1642

  1. ^ "lighttpd 1.4.35 released". 2014-03-12. Retrieved 2014-05-09. 
  2. ^ "lighttpd fly light". Retrieved 2010-06-13. "all of these describe lighttpd (pron. lighty)" 
  3. ^ "lighttpd: Story". lighttpd.net. Retrieved 22 December 2008. 
  4. ^ "Powered By lighttpd". Lighttpd wiki. Retrieved 22 December 2008. 
  5. ^ "Web Server Performance Comparison". Retrieved 15 March 2012. 
  6. ^ Gabriel Kerneis and Juliusz Chroboczek. Are events fast?. PPS technical report, University of Paris 7. 2009. http://www.pps.jussieu.fr/~jch/research/cpc-bench.pdf
  7. ^ "Downloads @ WLMP Project". Retrieved 2011-03-27. "LightTPD webserver for Windows Systems" 
  8. ^ Gammo, Louay; Brecht, Tim; Shukla, Amol; Pariag, David (2004). "Comparing and Evaluating epoll, select, and poll Event Mechanisms". Linux Symposium 1. University of Waterloo. p. 215. 
  9. ^ Lighttpd - Bug #1101: SSI include virtual does not run cgi - lighty labs
  10. ^ "lighttpd releases". lighttpd.net. Retrieved 20 June 2010. 
  11. ^ "lighttpd issue". lighttpd.net. Retrieved -30 September 2014.  Check date values in: |accessdate= (help)
  12. ^ "lighttpd issue2". lighttpd.net. Retrieved -30 September 2014.  Check date values in: |accessdate= (help)
  13. ^ "lighttpd issue3". deboam.org. Retrieved -30 September 2014.  Check date values in: |accessdate= (help)
  14. ^ "Memory usage increases when proxy+ssl+large file". lighttpd bug tracker. Retrieved 2011-04-11. 
  15. ^ "Lighttpd Web Server Usage". WebTechster. Retrieved 2014-03-26. 
  16. ^ "Fly Light With Lighttpd Web Server". ServerWatch. Retrieved 2008-02-12. 
  17. ^ Brion Vibber (2008-08-26). "Apache mod_php in wikipedia". Wikimedia wikitech-l mailing list. Retrieved 2008-08-27. 
  18. ^ Tim Starling (2008-08-27). "Apache mod_php in wikipedia". Wikimedia wikitech-l mailing list. Retrieved 2008-08-27. 
  19. ^ Domas Mitzuas (2008-08-27). "Apache mod_php in wikipedia". Wikimedia wikitech-l mailing list. Retrieved 2008-08-27. 
  20. ^ "Powered by Lighttpd". The official site. 2007-04-04. 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 the complex work to another server." 

http://redmine.lighttpd.net/boards/2/topics/4009 http://redmine.lighttpd.net/issues/1642

Bibliography[edit]

External links[edit]

WLMP[edit]