Lighttpd

Revision as of 10:59, 31 March 2025 by imported>Explicit (Removing link(s) undefined (XFDcloser))
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)

Template:Short description Template:Lowercase {{#invoke:Infobox|infobox}}Template:Template other{{#invoke:Check for unknown parameters | check | showblankpositional=1 | unknown = Template:Main other | preview = Page using Template:Infobox software with unknown parameter "_VALUE_"|ignoreblank=y | AsOf | author | background | bodystyle | caption | collapsetext | collapsible | developer | discontinued | engine | engines | genre | included with | language | language count | language footnote | latest preview date | latest preview version | latest release date | latest release version | latest_preview_date | latest_preview_version | latest_release_date | latest_release_version | licence | license | logo | logo alt | logo caption | logo upright | logo size | logo title | logo_alt | logo_caption | logo_upright | logo_size | logo_title | middleware | module | name | operating system | operating_system | other_names | platform | programming language | programming_language | released | replaced_by | replaces | repo | screenshot | screenshot alt | screenshot upright | screenshot size | screenshot title | screenshot_alt | screenshot_upright | screenshot_size | screenshot_title | service_name | size | standard | title | ver layout | website | qid }}Template:Main other

lighttpd (prescribed pronunciation: "lighty")<ref>{{#invoke:citation/CS1|citation |CitationClass=web }}.</ref> is an open-source web server optimized for speed-critical environments while remaining standards-compliant, secure and flexible.Template: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,<ref> {{#invoke:citation/CS1|citation |CitationClass=web }}</ref> but has gained worldwide popularity.<ref>{{#invoke:citation/CS1|citation |CitationClass=web }}</ref> Its name is a portmanteau of "light" and "httpd".

PremiseEdit

The low memory footprint (compared to other web servers),<ref>{{#invoke:citation/CS1|citation |CitationClass=web }}.</ref> small CPU load and speed optimizations<ref>Gabriel Kerneis and Juliusz Chroboczek. Are events fast?. PPS technical report, University of Paris 7. 2009.</ref> make lighttpd suitable for servers that are suffering load problems, or for serving static media separately from dynamic content. lighttpd is free and open-source software and is distributed under the BSD license. It runs natively on Unix-like operating systems, with experimental support for Microsoft Windows.<ref>{{#invoke:citation/CS1|citation |CitationClass=web }}</ref>

Application supportEdit

lighttpd supports the FastCGI, SCGI and CGI interfaces to external programs, allowing 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.

FeaturesEdit

|CitationClass=web }}</ref>

|CitationClass=web }}</ref>

|CitationClass=web }}</ref>

{{#invoke:citation/CS1|citation |CitationClass=web }}</ref>

  • Single-process design with only several threads. No processes or threads started per connection.
  • HTTP/2 support since lighttpd 1.4.56
  • HTTP/2 WebSocket support since lighttpd 1.4.65
  • TLS Encrypted Client Hello (ECH) support since lighttpd 1.4.77<ref>{{#invoke:citation/CS1|citation

|CitationClass=web }}</ref>

LimitationsEdit

  • Versions below 1.4.40 do not officially support sending large files from CGI, FastCGI, or proxies<ref>{{#invoke:citation/CS1|citation

|CitationClass=web }}</ref> unless X-Sendfile is used. This limitation has been removed in lighttpd 1.4.40.<ref>{{#invoke:citation/CS1|citation |CitationClass=web }}</ref>

UsageEdit

Lighttpd was used in the past by several high-traffic websites, including Bloglines, xkcd, Meebo, and YouTube.<ref>{{#invoke:citation/CS1|citation |CitationClass=web }}</ref>Template:Better ref needed The Wikimedia Foundation also once ran Lighttpd servers.<ref>{{#invoke:citation/CS1|citation |CitationClass=web }}</ref> Due to relatively small size it's often used in embedded devices like GL.iNet and Turris Omnia.

It's also used by git as a HTTP server daemon.

See alsoEdit

Template:Portal

ReferencesEdit

Template:Reflist

Further readingEdit

Template:Refbegin

Template:Refend

External linksEdit

Template:Web server software