從 IBM 看到了 lightweight web servers 的介紹

從 IBM 看到了 lightweight web servers 的介紹

一點點說明

"Lightweight" Web servers like "lighthttpd", "litespeed", and "mongrel" can offer dramatic benefits for your projects. This article surveys the possibilities and shows how they apply to you.

幾個評估的要素

  • Performance: How fast does it respond to requests?
  • Scalability: Does the server continue to behave reliably when many users simultaneously access it?
  • Security: Does the server do only the operations it should? What support does it offer for authenticating users and encrypting its traffic? Does its use make nearby applications or hosts more vulnerable?
  • Availability: What are the failure modes and incidences of the server?
  • Compliance to standards: Does the server respect the pertinent RFCs?
  • Flexibility: Can the server be tuned to accommodate heavy request loads, or computationally demanding dynamic pages, or expensive authentication, or ...?
  • Platform requirements: On what range of platforms is the server available? Does it have specific hardware needs?
  • Manageability: Is the server easy to set up and maintain? Is it compatible with organizational standards for logging, auditing, costing, and so on?

列了幾十個 web server,但我自己常用的是:

lighttpd is the fifth-most-used Web server (and growing!). It is optimized for many simultaneous connections: "The typical scenario is using lighttpd as an off-load server to push out static content ..."

thttpd throttles, does "chroot", Basic Authentication, and so on.

其實自己寫一個簡單的 web server  好像也不難,程式也才600行

mattows supports CGI in barely 600 lines of C.

全文網址

http://www.ibm.com/developerworks/linux/library/wa-ltwebserv/index.html?ca=drs-

convert from Thomas blog post id 134 old convert log: ./121057/tag%3E2007%2007%20linux)

@2007 @07 @linux

Comments