<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>HackGou In Lamp&#124;憨狗点灯 &#187; SRR</title>
	<atom:link href="http://hackgou.itbbq.com/category/srr/feed" rel="self" type="application/rss+xml" />
	<link>http://hackgou.itbbq.com</link>
	<description>LAMP开放的是代码，是接口，是互操作性</description>
	<lastBuildDate>Thu, 15 Jul 2010 14:23:06 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>除了apache还有什么？</title>
		<link>http://hackgou.itbbq.com/%e9%99%a4%e4%ba%86apache%e8%bf%98%e6%9c%89%e4%bb%80%e4%b9%88.html</link>
		<comments>http://hackgou.itbbq.com/%e9%99%a4%e4%ba%86apache%e8%bf%98%e6%9c%89%e4%bb%80%e4%b9%88.html#comments</comments>
		<pubDate>Thu, 09 Nov 2006 14:12:19 +0000</pubDate>
		<dc:creator>HackGou</dc:creator>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Mathopd]]></category>
		<category><![CDATA[SRR]]></category>
		<category><![CDATA[TUX]]></category>
		<category><![CDATA[lighttpd]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://hackgou.itbbq.com/%e9%99%a4%e4%ba%86apac-he%e8%bf%98%e6%9c%89%e4%bb%80%e4%b9%88%ef%bc%9f.html</guid>
		<description><![CDATA[作为开源的web server apache2可谓占尽天时地利人和：不仅开源社区的人对他顶礼膜拜，乃至
其他平台的的web server也敬他三分。
但是到底在开源阵营中还有些什么出色的web server呢？

&#160;

首先映入眼帘的是lighttpd：
http://www.lighttpd.net/
lighttpd的兴起，和rails密不可分。
lighttpd+ SCGI&#160;(SRR)是rails社区公认的不二选择。
SCGI作为fastCGI的天然替代物，对所有支持 SCGI协议的web server都可以实现无缝移植。
其实除了SCGI之外，类似php的mod_php、ruby也有apache的 mod_ruby。也可以和apache
集成，当然这是apache dependent的。
&#160;
在性能方面，普遍的说法是lighttpd比apache2快过4、5倍，连lighttpd官方的说法也是快过2、3倍
当然也有人嚷嚷：lighttpd在扯蛋&#160;（当然我们得注意一下这家伙的背景）
真是公说公有理、婆说婆有理
&#160;
另外还有一个thttpd，性能也非常出色
http://www.acme.com/software/thttpd/benchmarks.html



实线部分是处理处理1000个1kB大小的文件，Java实现的Acme.Serve和Jigsaw连测试都没有承受住，
就挂了。&#160; :P
虚线部分是使用很简单的CGI hello world&#34; C program.作为CGI测试的。
在这份benchmark中，出现了另外一个BSD license的web server:Mathopd&#160;优秀的CGI性能简直让人大跌眼镜
但是不知道真实的生产环境性能如何！
&#160;
说道静态文件服务，不得不提一下TUX：
虽然没有具体的数据说明TUX的性能个到底如何，但是业界广泛认为：作为运行于内核空间的TUX，由于少了
content切换的开销，相比其他用户空间的web server比如apache反应快速的多，另外Red Hat给他的学名儿
叫：Red Hat Content Accelerator&#160;。所以提供image之类的服务是在适合不过的了，但是也正是因为这个最大
的优势限制了他在其他平台的使用，是一个linux dependent的web server。同时，运行于内核空间的他，
一旦crash，后果可想而知。
&#160;

更多的web server list可以参考这儿：
http://en.wikipedia.org/wiki/Comparison_of_web_servers

]]></description>
		<wfw:commentRss>http://hackgou.itbbq.com/%e9%99%a4%e4%ba%86apache%e8%bf%98%e6%9c%89%e4%bb%80%e4%b9%88.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
