欢迎大家赞助一杯啤酒🍺 我们准备了下酒菜:Formal mathematics/Isabelle/ML, Formal verification/Coq/ACL2, C++/F#/Lisp
Thttpd
来自开放百科 - 灰狐
您可以在Wikipedia上了解到此条目的英文信息 Thttpd Thanks, Wikipedia. |
目录 |
thttpd简介
thttpd是一个非常小巧的轻量级web server,它非常非常简单,仅仅提供了HTTP/1.1和简单的CGI支持,在其官方网站上有一个与其他web server(如Apache, Zeus等)的对比图+Benchmark,可以参考参考。此外,thttpd 也类似于lighttpd,对于并发请求不使用fork()来派生子进程处理,而是采用多路复用(Multiplex)技术来实现。因此效能很好。
thttpd支持多种平台,如FreeBSD, SunOS, Solaris, BSD, Linux, OSF等。对于小型web server而言,速度快似乎是一个代名词,通过官方站提供的Benchmark,可以这样认为:thttpd至少和主流的web server一样快,在高负载下更快,因为其资源占用小的缘故。
thttpd还有一个较为引人注目的特点:基于URL的文件流量限制,这对于下载的流量控制而言是非常方便的。象Apache就必须使用插件实现,效率较thttpd低。
基本特色
- Simple: It handles only the minimum necessary to implement HTTP/1.1. Well, maybe a little more than the minimum.
- Small: See the comparison chart. It also has a very small run-time size, since it does not fork and is very careful about memory allocation.
- Portable: It compiles cleanly on most any Unix-like OS, specifically including FreeBSD, SunOS 4, Solaris 2, BSD/OS, Linux, OSF.
- Fast: In typical use it's about as fast as the best full-featured servers (Apache, NCSA, Netscape). Under extreme load it's much faster.
- Secure: It goes to great lengths to protect the web server machine against attacks and breakins from other sites.
安装指南
wget http://www.acme.com/software/thttpd/thttpd-2.25b.tar.gz tar zxvf thttpd-2.25b.tar.gz cd thttpd-2.25b ./configure make addgroup www // 需创建 www 组 make install /usr/local/bin/thttpd http://localhost/ :)
相关链接
- 官方网站 http://www.acme.com/software/thttpd/
- 作者 Jef Poskanzer [email protected] http://www.acme.com/jef/
精彩图片
成功应用
- http://www.userfriendly.org/
- http://news.excite.com/
- http://images.paypal.com/
- http://www.garfield.com/
- http://www.demon.net/
<discussion>characters_max=300</discussion>
分享您的观点