PHP[文摘20100706]几种Web服务器相比较 (Apache、IIS、Lighttpd、Nginx、LiteSpeed、Zeus)

瞩目到闹那款服务器nginx。没听罢,一查来矣下文。其中有一个要么听了之。对照翻译了下文。

Apache and IIS are the most common web servers in use today, but they
are far from alone. There is a huge amount of web server software out
there, both free and commercial.

交手上,Apache和IIS是用的无比普遍的Web服务器,不过它最过单一,在是之外这里还有不少Web服务器软件,或是免费的或是商业的。

In this article we present four popular alternative web servers:
Lighttpd, Nginx, LiteSpeed and Zeus. The first two are
free and open source while the other two are commercial, closed-source
alternatives. What they all have in common is that they focus on high
performance.

本文我们介绍四种最让欢迎的Web服务器: Lighttpd, Nginx,
LiteSpeedZeus。
前零星只都是免费都开源的,而其他二种植都是商的,闭源的。它们的共同点在于都首要于大性能达到。

We will also take a look at how many websites are actually using these
web servers.

俺们看看有小网站实际上在动用它。

But first a brief presentation of each of one:

第一一个简短的牵线中某:

Lighttpd
  • Brief info: Pronounced “Lighty”, Lighttpd is as the name implies
    a small, lightweight web server which has a low memory footprint and
    light CPU load. Lighttpd is a good alternative to serve static
    content but it has also gained recognition in the Ruby on Rails and
    PHP communities.

    Lighttpd
    的称暗示小,轻量级web服务器,占用内存小且cpu负荷低。Lighttpd
    是劳务为静态内容的没错拔取。可是她又于公认为是用在Ruby 和 PHP 上。

  • Used by: Wikimedia (Wikipedia), Sourceforge, YouTube, The Pirate
    Bay, Meebo, Imageshack, Sendspace, Mininova.
  • Cost: Free
  • Open Source: Yes
  • OS platforms: Linux, freeBSD, Solaris, MacOS X, Windows (under
    Cygwin)
  • Homepage: http://www.oschina.net/p/lighttpd
Nginx
  • Brief info: Pronounced “engine X”, Nginx is a lightweight web
    server and reverse
    proxy
    . originally
    written by Igor Sysoev for Rambler.ru (Russia’s second most visited
    website). Nginx is known for stability and simple configuration in
    addition to its low resource consumption. It can also act as an
    IMAP/POP3 proxy.

    Nginx 是一致迟迟轻量级web服务器和反朝代理。最初由Igor Sysoev
    编写。它的成名在于这安居以及简易的布置,除此之外低资源消耗。
    还有她好当作IMAP/POP3合计。

  • Used by: Yellow Pages, Hulu, Zimbra, the Friends for Sale
    Facebook app, Rambler, and it also seems that WordPress.com just
    started using it instead of LiteSpeed.
  • Cost: Free
  • Open Source: Yes
  • OS platforms: Linux, FreeBSD, Solaris, MacOS X
  • Homepage: http://www.oschina.net/p/nginx
LiteSpeed
  • Brief info: LiteSpeed is a commercial web server designed
    specifically for large websites. One of LiteSpeed’s advantages is
    that it can read Apache configurations directly which makes it easy
    to integrate with existing products to replace Apache. The server is
    lightweight and as the name implies very fast.

    LiteSpeed 一栽于特别计划作为大型网站的买卖web服务器。
    其中一个优势就是是其会直接读取Apache
    的布音信。并即兴拿它现有的制品了合在一起来替Apache
    。这种服务器是轻量级的哪怕设她的名暗示出好急匆匆。

  • Used by: WordPress (until recently at least, but now
    Wordpress.com appears to be using nginx), Twitter, GigaOm, Bravenet.
  • Cost: Free to $1,299 depending on the edition.
  • Open Source: No
  • OS platforms: Linux, FreeBSD, Solaris, MacOS X
  • Homepage: http://www.ruanku.com/p/litespeedtech-web-server
Zeus
  • Brief info: Zeus web server is a high performance web server. It
    has received PC Magazine Editors’ Choice award and also the eWeek/PC
    Magazine Innovation in Infrastructure award. Zeus is a highly
    flexible enterprise product.

    Zeus web server 是一个胜过性能的web服务器。它已经被PC Magazine Editors’
    Choice 授了奖并且eWeek/PC Magazine Innovation 也赋予了其奖项。Zeus
    是同样栽低度灵活的店铺产品。

  • Used by: Sony, Telefónica, Virgin media, phpBB.
  • Cost: $1,700 up to two physical CPUs; $850 per additional CPU.
  • Open Source: No
  • OS platforms: Linux, FreeBSD, Solaris, HP-UX
  • Homepage: http://www.ruanku.com/p/zeus-web-server

How many websites are using these web servers?

According to Netcraft, Lighttpd is currently the most common of these
four web servers. On April 1, the numbers of websites for each were as
follows:
有微网站在以其?
基于Netcraft总结,Lighttpd
是眼前立马四种植服务器遭到极广泛的。在二月1日总括到之网站数字。

Lighttpd: 1,495,308
Nginx: 1,018,503
LiteSpeed: 668,030
Zeus: 420,477

These positions were not always the same, though. As you can see by the
following graph, which shows the numbers from January 2006 to April
2008, the situation has changed significantly over time.

只是这形势并无直接是相同的。通过下图你可以看出由二〇〇六年5月至二〇〇八年九月,形势就日要改着。

PHP 1
The graph is based on data from Netcraft (their web server survey
archives
).

The huge leap for Lighttpd in January-March of 2007 is most likely due
to one or more web hosting or domain registration companies switching
over to Lighttpd either for their regular pages, or for parked pages, or
both. If anyone knows what happened there in more detail, please feel
free to let us know in the comments.

二〇〇七年六月到十二月,很可能归结为一个或六只web服务商或域名注册局转变以Lighttpd
。暴发了呀使有人知晓之再详细些……

Interestingly, the number of servers using the Zeus web server has
remained quite constant over the last two years, and even decreased a
little. That said, it is mainly an enterprise solution, so this is
perhaps not so surprising.

特别有趣之是,过去少年使用Zeus
作为服务器的多少维持以一个深稳定的状态。而且缩小了一点点。可以说,它假若对公司解决方案。所以由立点上是免值得大惊小怪的。

The two web servers that have been growing the fastest lately are Nginx
and LiteSpeed. Nginx recently passed the one-million-websites mark.

Nginx 和 LiteSpeed 这有限种服务器增长速度很快。近年来Nginx
已经越了一百万独站点

These numbers of course still pale next to Apache’s roughly 83 million
websites, but there is no doubt that these alternative web servers are
gaining in popularity. Who knows, one of them may be just right for you?

理所当然这一个数字对Apache的大约8300万来说不值一提。但准凭置疑的凡这些不过供应选取的服务器越来越被欢迎。有什么人知道,其中某很可能是异常适合你的?

相关文章