fbpx
维基百科

lighttpd

lighttpd(读作lighty)[2] 是一款以BSD許可證开源網頁伺服器,在确保兼容常见标准、安全性及灵活性的情况下专为需要处理速度的环境优化。此软件起初为扬·克内施克对c10k问题英语c10k problem(如何同时并行处理10000条连接的问题)的概念验证,但随后受到了大众欢迎。[3]其名称是“light”(轻量)与httpd混成詞。相較於其他的網頁伺服器,lighttpd僅需少量的内存及CPU資源即可達到同樣的效能。

lighttpd
開發者扬·克内施克英语Jan Kneschke
首次发布2003年3月 (2003-03)
当前版本
  • 1.4.72 (2023年10月6日;穩定版本)[1]
源代码库
  • git.lighttpd.net/lighttpd
编程语言C语言
操作系统跨平台
语言英文
类型網頁伺服器
许可协议BSD许可证
网站www.lighttpd.net

前言 编辑

相比其他网页服务器软件而言,lighttpd的低内存占用、[4]CPU负载及速度优化[5]使其成为负载过重或提供静态媒体服务器的合适之选。lighttpd是一款自由及开放源代码软件,以BSD许可证发布。它可原生运行在类Unix系统操作系统及Microsoft Windows上。[6]

应用程序支持 编辑

lighttpd支持向外部程序开放FastCGISCGICGI,允许以任意编程语言编写的程序与服务器通信。 PHP作为一门特别流行的语言,其性能受到了广泛关注。lighttpd的FastCGI可配置为使用操作码缓存的方式来有效支持PHP(如Alternative PHP Cache)除此之外,lighttpd还获得了PythonPerlRubyLua社区的关注。lighttpd还支持WebDNA和弹性内存数据库系统。此软件是一款流行的、支持CatalystRuby on Rails网页框架的网页服务器,但并不支持ISAPI

特性 编辑

局限性 编辑

  • 低于1.4.40以下的版本不官方支持从CGI、FastCGI或代理发送大文件,[11]除非使用X-Sendfile。此问题已于lighttpd 1.4.40版中解决。[12]
  • 不支持SPDY或HTTP/2

用法 编辑

lighttpd被多个业务量极大的网站使用,如Bloglinesxkcd[13]在过去,MeeboYouTube也曾使用lighttpd。[14] 维基媒体基金会也在服务器上运行lighttpd。[15][16][17][18]

操作系统支持 编辑

  • lighttpd至少为下列平台定期构建和发布
  • Linux(在Fedora Core、SuSE、OpenSUSE、Debian、Ubuntu、Gentoo、PLD-Linux、OpenWRT等發行版中可直接使用套件包)
  • 原始碼安裝(CentOS等)
  • BSD(FreeBSD、NetBSD、OpenBSD、Mac OS X)
  • IRIX
  • Windows(CygwinMinGW等)
  • Solaris
  • AIX

参考文献 编辑

  1. ^ 1.4.72. [2023年10月6日]. 
  2. ^ lighttpd fly light. [2010-06-13]. (原始内容于2006-07-07). all of these describe lighttpd (pron. lighty) .
  3. ^ Powered By lighttpd. lighttpd wiki. [22 December 2008]. (原始内容于2006-10-08). 
  4. ^ . [15 March 2012]. (原始内容存档于2016-06-05). .
  5. ^ Gabriel Kerneis and Juliusz Chroboczek. Are events fast? (页面存档备份,存于互联网档案馆). PPS technical report, University of Paris 7. 2009.
  6. ^ Downloads @ WLMP Project. [2011-03-27]. (原始内容于2011-03-24). LightTPD webserver for Windows Systems .
  7. ^ Gammo, Louay; Brecht, Tim; Shukla, Amol; Pariag, David. Comparing and Evaluating epoll, select, and poll Event Mechanisms. Linux Symposium. University of Waterloo: 215. 2004.  |volume=被忽略 (帮助);
  8. ^ lighttpd - Bug #1101: SSI include virtual does not run cgi (页面存档备份,存于互联网档案馆) – lighty labs
  9. ^ 存档副本. [2019-04-23]. (原始内容于2012-06-29). 
  10. ^ lighttpd releases. lighttpd.net. [20 June 2010]. (原始内容于2019-09-09). 
  11. ^ Memory usage increases when proxy+ssl+large file. lighttpd bug tracker. [2011-04-11]. (原始内容于2011-04-20). 
  12. ^ lighty should buffer responses (after it grows above certain size) on disk. lighttpd bug tracker. [2016-07-16]. (原始内容于2016-07-23). 
  13. ^ lighttpd Web Server Usage. WebTechster. [2014-03-26]. (原始内容于2019-04-23). 
  14. ^ . ServerWatch. [2008-02-12]. (原始内容存档于2014-03-31). 
  15. ^ Brion Vibber. Apache mod_php in wikipedia. Wikimedia wikitech-l mailing list. 2008-08-26 [2008-08-27]. (原始内容于2019-04-23). 
  16. ^ Tim Starling. Apache mod_php in wikipedia. Wikimedia wikitech-l mailing list. 2008-08-27 [2008-08-27]. (原始内容于2019-04-23). 
  17. ^ Domas Mitzuas. Apache mod_php in wikipedia. Wikimedia wikitech-l mailing list. 2008-08-27 [2008-08-27]. (原始内容于2019-04-23). 
  18. ^ Powered by lighttpd. The official site. 2007-04-04 [2008-12-22]. (原始内容于2018-06-27). 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. 

另请参阅 编辑

延伸阅读 编辑

  • Bogus, Andre. lighttpd 1st. Packt Publishing英语Packt Publishing. October 29, 2008: 236 [2019-04-23]. ISBN 978-1847192103. (原始内容于2014-07-15). 

外部連結 编辑

lighttpd, 读作lighty, 是一款以bsd許可證开源的網頁伺服器, 在确保兼容常见标准, 安全性及灵活性的情况下专为需要处理速度的环境优化, 此软件起初为扬, 克内施克对c10k问题, 英语, c10k, problem, 如何同时并行处理10000条连接的问题, 的概念验证, 但随后受到了大众欢迎, 其名称是, light, 轻量, 与httpd的混成詞, 相較於其他的網頁伺服器, 僅需少量的内存及cpu資源即可達到同樣的效能, 開發者扬, 克内施克, 英语, kneschke, 首次发布2003年3. lighttpd 读作lighty 2 是一款以BSD許可證开源的網頁伺服器 在确保兼容常见标准 安全性及灵活性的情况下专为需要处理速度的环境优化 此软件起初为扬 克内施克对c10k问题 英语 c10k problem 如何同时并行处理10000条连接的问题 的概念验证 但随后受到了大众欢迎 3 其名称是 light 轻量 与httpd的混成詞 相較於其他的網頁伺服器 lighttpd僅需少量的内存及CPU資源即可達到同樣的效能 lighttpd開發者扬 克内施克 英语 Jan Kneschke 首次发布2003年3月 2003 03 当前版本1 4 72 2023年10月6日 穩定版本 1 源代码库git wbr lighttpd wbr net wbr lighttpd编程语言C语言操作系统跨平台语言英文类型網頁伺服器许可协议BSD许可证网站www lighttpd net 目录 1 前言 2 应用程序支持 3 特性 4 局限性 5 用法 6 操作系统支持 7 参考文献 8 另请参阅 9 延伸阅读 10 外部連結前言 编辑相比其他网页服务器软件而言 lighttpd的低内存占用 4 低CPU负载及速度优化 5 使其成为负载过重或提供静态媒体服务器的合适之选 lighttpd是一款自由及开放源代码软件 以BSD许可证发布 它可原生运行在类Unix系统操作系统及Microsoft Windows上 6 应用程序支持 编辑lighttpd支持向外部程序开放FastCGI SCGI及CGI 允许以任意编程语言编写的程序与服务器通信 PHP作为一门特别流行的语言 其性能受到了广泛关注 lighttpd的FastCGI可配置为使用操作码缓存的方式来有效支持PHP 如Alternative PHP Cache 除此之外 lighttpd还获得了Python Perl Ruby和Lua社区的关注 lighttpd还支持WebDNA和弹性内存数据库系统 此软件是一款流行的 支持Catalyst和Ruby on Rails网页框架的网页服务器 但并不支持ISAPI 特性 编辑支持负载均衡 FastCGI SCGI及HTTP代理服务器 支援 a href Chroot html title Chroot chroot a 网页服务器事件机制性能优化 select poll 及epoll 7 支持更高效的事件通知 英语 event notification 支持URL条件重写 mod rewrite 通过OpenSSL可提供支持SNI的TLS SSL 透過LDAP服务器認證 RRDtool狀態輸出 基于规则的下载 服务器端内嵌支持 不包括服务侧CGI 8 灵活的虚拟主机 模块支持 缓存元语言 现已被mod magnet替代 9 using the Lua programming language 对WebDAV最小支持 Servlet AJP 英语 Apache JServ Protocol 支持 1 5 x版後 使用mod compress及新版mod deflate 1 4 42 的HTTP压缩 软件轻量 小于1MB 10 仅有若干线程的单进程设计 开始每条连接时不产生新进程或新线程 局限性 编辑低于1 4 40以下的版本不官方支持从CGI FastCGI或代理发送大文件 11 除非使用X Sendfile 此问题已于lighttpd 1 4 40版中解决 12 不支持SPDY或HTTP 2用法 编辑lighttpd被多个业务量极大的网站使用 如Bloglines和xkcd 13 在过去 Meebo和YouTube也曾使用lighttpd 14 维基媒体基金会也在服务器上运行lighttpd 15 16 17 18 操作系统支持 编辑lighttpd至少为下列平台定期构建和发布 Linux 在Fedora Core SuSE OpenSUSE Debian Ubuntu Gentoo PLD Linux OpenWRT等發行版中可直接使用套件包 原始碼安裝 CentOS等 BSD FreeBSD NetBSD OpenBSD Mac OS X IRIX Windows Cygwin MinGW等 Solaris AIX参考文献 编辑 1 4 72 2023年10月6日 lighttpd fly light 2010 06 13 原始内容存档于2006 07 07 all of these describe lighttpd pron lighty Powered By lighttpd lighttpd wiki 22 December 2008 原始内容存档于2006 10 08 Web Server Performance Comparison 15 March 2012 原始内容存档于2016 06 05 Gabriel Kerneis and Juliusz Chroboczek Are events fast 页面存档备份 存于互联网档案馆 PPS technical report University of Paris 7 2009 Downloads WLMP Project 2011 03 27 原始内容存档于2011 03 24 LightTPD webserver for Windows Systems Gammo Louay Brecht Tim Shukla Amol Pariag David Comparing and Evaluating epoll select and poll Event Mechanisms Linux Symposium University of Waterloo 215 2004 volume 被忽略 帮助 缺少或 url 为空 帮助 lighttpd Bug 1101 SSI include virtual does not run cgi 页面存档备份 存于互联网档案馆 lighty labs 存档副本 2019 04 23 原始内容存档于2012 06 29 lighttpd releases lighttpd net 20 June 2010 原始内容存档于2019 09 09 Memory usage increases when proxy ssl large file lighttpd bug tracker 2011 04 11 原始内容存档于2011 04 20 lighty should buffer responses after it grows above certain size on disk lighttpd bug tracker 2016 07 16 原始内容存档于2016 07 23 lighttpd Web Server Usage WebTechster 2014 03 26 原始内容存档于2019 04 23 Fly Light With lighttpd Web Server ServerWatch 2008 02 12 原始内容存档于2014 03 31 Brion Vibber Apache mod php in wikipedia Wikimedia wikitech l mailing list 2008 08 26 2008 08 27 原始内容存档于2019 04 23 Tim Starling Apache mod php in wikipedia Wikimedia wikitech l mailing list 2008 08 27 2008 08 27 原始内容存档于2019 04 23 Domas Mitzuas Apache mod php in wikipedia Wikimedia wikitech l mailing list 2008 08 27 2008 08 27 原始内容存档于2019 04 23 Powered by lighttpd The official site 2007 04 04 2008 12 22 原始内容存档于2018 06 27 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 另请参阅 编辑 nbsp 自由软件主题 網頁伺服器比較 互联网缓存协议 英语 Internet Cache Protocol 讨论客户端代理的代理服务器 讨论源站代理的反向代理 Traffic Server 讨论基于主机的HTTP加速的网页加速器 英语 Web accelerator 延伸阅读 编辑Bogus Andre lighttpd 1st Packt Publishing 英语 Packt Publishing October 29 2008 236 2019 04 23 ISBN 978 1847192103 原始内容存档于2014 07 15 外部連結 编辑官方网站 nbsp lighttpd forum lighttpd的論壇 lighty s life 页面存档备份 存于互联网档案馆 lighttpd的網誌 1 页面存档备份 存于互联网档案馆 Open Source China 的介绍 取自 https zh wikipedia org w index php title Lighttpd amp oldid 75020532, 维基百科,wiki,书籍,书籍,图书馆,

文章

,阅读,下载,免费,免费下载,mp3,视频,mp4,3gp, jpg,jpeg,gif,png,图片,音乐,歌曲,电影,书籍,游戏,游戏。