<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>评论：大话PHP之性能</title>
	<atom:link href="http://stblog.baidu-tech.com/?feed=rss2&#038;p=1343" rel="self" type="application/rss+xml" />
	<link>http://stblog.baidu-tech.com/?p=1343</link>
	<description>又一个 WordPress 博客</description>
	<lastBuildDate>Fri, 30 Dec 2011 08:40:31 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>来自：a</title>
		<link>http://stblog.baidu-tech.com/?p=1343&#038;cpage=5#comment-2431</link>
		<dc:creator>a</dc:creator>
		<pubDate>Fri, 16 Dec 2011 11:49:14 +0000</pubDate>
		<guid isPermaLink="false">http://stblog.baidu-tech.com/?p=1343#comment-2431</guid>
		<description>评论时间怎么都一样的？</description>
		<content:encoded><![CDATA[<p>评论时间怎么都一样的？</p>
]]></content:encoded>
	</item>
	<item>
		<title>来自：xiaoguang</title>
		<link>http://stblog.baidu-tech.com/?p=1343&#038;cpage=4#comment-2376</link>
		<dc:creator>xiaoguang</dc:creator>
		<pubDate>Thu, 15 Dec 2011 03:17:16 +0000</pubDate>
		<guid isPermaLink="false">http://stblog.baidu-tech.com/?p=1343#comment-2376</guid>
		<description>学习了。很不错！！</description>
		<content:encoded><![CDATA[<p>学习了。很不错！！</p>
]]></content:encoded>
	</item>
	<item>
		<title>来自：aninfeel</title>
		<link>http://stblog.baidu-tech.com/?p=1343&#038;cpage=4#comment-2281</link>
		<dc:creator>aninfeel</dc:creator>
		<pubDate>Sat, 10 Dec 2011 08:01:49 +0000</pubDate>
		<guid isPermaLink="false">http://stblog.baidu-tech.com/?p=1343#comment-2281</guid>
		<description>裸用框架也许影响不大，当时在实际生产中一般涉及不少业务，需要autoload好多东西，一般是查找文件的操作，应该会有影响吧。
如果涉及大量计算（排除io等），php和java就不是一个级别的了。</description>
		<content:encoded><![CDATA[<p>裸用框架也许影响不大，当时在实际生产中一般涉及不少业务，需要autoload好多东西，一般是查找文件的操作，应该会有影响吧。<br />
如果涉及大量计算（排除io等），php和java就不是一个级别的了。</p>
]]></content:encoded>
	</item>
	<item>
		<title>来自：xuliqiang</title>
		<link>http://stblog.baidu-tech.com/?p=1343&#038;cpage=4#comment-2277</link>
		<dc:creator>xuliqiang</dc:creator>
		<pubDate>Sat, 10 Dec 2011 02:04:06 +0000</pubDate>
		<guid isPermaLink="false">http://stblog.baidu-tech.com/?p=1343#comment-2277</guid>
		<description>“有没有考虑过用PHP实现个类似连接池之类的东西”目前有考虑，但暂时还没有应用上。</description>
		<content:encoded><![CDATA[<p>“有没有考虑过用PHP实现个类似连接池之类的东西”目前有考虑，但暂时还没有应用上。</p>
]]></content:encoded>
	</item>
	<item>
		<title>来自：xuliqiang</title>
		<link>http://stblog.baidu-tech.com/?p=1343&#038;cpage=4#comment-2276</link>
		<dc:creator>xuliqiang</dc:creator>
		<pubDate>Sat, 10 Dec 2011 02:02:43 +0000</pubDate>
		<guid isPermaLink="false">http://stblog.baidu-tech.com/?p=1343#comment-2276</guid>
		<description>“项目中如果有过多的文件，经常auto_load然后还要再执行，性能就会很差，这个会不会是一个瓶颈呢~”
是的，会有影响。所以尽量不要load不必要的文件。这些在后续也会有一些标准的性能数据产出。</description>
		<content:encoded><![CDATA[<p>“项目中如果有过多的文件，经常auto_load然后还要再执行，性能就会很差，这个会不会是一个瓶颈呢~”<br />
是的，会有影响。所以尽量不要load不必要的文件。这些在后续也会有一些标准的性能数据产出。</p>
]]></content:encoded>
	</item>
	<item>
		<title>来自：agentzh</title>
		<link>http://stblog.baidu-tech.com/?p=1343&#038;cpage=4#comment-2264</link>
		<dc:creator>agentzh</dc:creator>
		<pubDate>Fri, 09 Dec 2011 10:27:15 +0000</pubDate>
		<guid isPermaLink="false">http://stblog.baidu-tech.com/?p=1343#comment-2264</guid>
		<description>php-fpm 虽然使用非阻塞模式的 socket，但是只是用于超时控制目的吧？其每一个 worker 进程还是只能一个一个地按顺序处理下游请求，即一个 OS 进程还是只能处理一并发。对于经典的 C10K 问题，如果下游有 1 万个请求同时来，使用 php-fpm 就需要有 1 万个 worker 进程才能处理得过来，而对于标配 8 核 8G 内存服务器而言内存早溢出了，而且 CPU 争用也早已成为瓶颈。这怎么能说和 Nginx 体系结构是一样的呢？Nginx 可是可以很好地处理 C10K 问题的。如果 php-fpm 真像 Nginx 在 I/O 模型上那么 NB，而在搞 node.js/twisted 的那帮哥们早就可以消停了，呵呵。</description>
		<content:encoded><![CDATA[<p>php-fpm 虽然使用非阻塞模式的 socket，但是只是用于超时控制目的吧？其每一个 worker 进程还是只能一个一个地按顺序处理下游请求，即一个 OS 进程还是只能处理一并发。对于经典的 C10K 问题，如果下游有 1 万个请求同时来，使用 php-fpm 就需要有 1 万个 worker 进程才能处理得过来，而对于标配 8 核 8G 内存服务器而言内存早溢出了，而且 CPU 争用也早已成为瓶颈。这怎么能说和 Nginx 体系结构是一样的呢？Nginx 可是可以很好地处理 C10K 问题的。如果 php-fpm 真像 Nginx 在 I/O 模型上那么 NB，而在搞 node.js/twisted 的那帮哥们早就可以消停了，呵呵。</p>
]]></content:encoded>
	</item>
	<item>
		<title>来自：chuke</title>
		<link>http://stblog.baidu-tech.com/?p=1343&#038;cpage=3#comment-2256</link>
		<dc:creator>chuke</dc:creator>
		<pubDate>Fri, 09 Dec 2011 03:01:32 +0000</pubDate>
		<guid isPermaLink="false">http://stblog.baidu-tech.com/?p=1343#comment-2256</guid>
		<description>写的很不错 期待更多的分析</description>
		<content:encoded><![CDATA[<p>写的很不错 期待更多的分析</p>
]]></content:encoded>
	</item>
	<item>
		<title>来自：笑嘻嘻</title>
		<link>http://stblog.baidu-tech.com/?p=1343&#038;cpage=3#comment-2253</link>
		<dc:creator>笑嘻嘻</dc:creator>
		<pubDate>Fri, 09 Dec 2011 01:12:40 +0000</pubDate>
		<guid isPermaLink="false">http://stblog.baidu-tech.com/?p=1343#comment-2253</guid>
		<description>惠新晨同学么</description>
		<content:encoded><![CDATA[<p>惠新晨同学么</p>
]]></content:encoded>
	</item>
	<item>
		<title>来自：chenchaogang</title>
		<link>http://stblog.baidu-tech.com/?p=1343&#038;cpage=3#comment-2210</link>
		<dc:creator>chenchaogang</dc:creator>
		<pubDate>Wed, 07 Dec 2011 14:46:33 +0000</pubDate>
		<guid isPermaLink="false">http://stblog.baidu-tech.com/?p=1343#comment-2210</guid>
		<description>另外，轻量化的框架（相当于裸写）性能很猛，但是项目中如果有过多的文件，经常auto_load然后还要再执行，性能就会很差，这个会不会是一个瓶颈呢~</description>
		<content:encoded><![CDATA[<p>另外，轻量化的框架（相当于裸写）性能很猛，但是项目中如果有过多的文件，经常auto_load然后还要再执行，性能就会很差，这个会不会是一个瓶颈呢~</p>
]]></content:encoded>
	</item>
	<item>
		<title>来自：chenchaogang</title>
		<link>http://stblog.baidu-tech.com/?p=1343&#038;cpage=3#comment-2209</link>
		<dc:creator>chenchaogang</dc:creator>
		<pubDate>Wed, 07 Dec 2011 14:44:07 +0000</pubDate>
		<guid isPermaLink="false">http://stblog.baidu-tech.com/?p=1343#comment-2209</guid>
		<description>后端有14个模块，php如果都与之进行短连接的话，性能会很差（除非端口复用之类的，否则端口不够用，端口复用最好是同机房），有没有考虑过用PHP实现个类似连接池之类的东西呢。 另外网络中读取的速度一般为磁盘的1/10~1/100，瓶颈很明显在网络上了，要提高这样的应用的性能，就只能把网络中得数据缓存到本地磁盘啦，这个用JAVA,PHP,PYTHON都会是一样的结果，呵呵，我随便说说</description>
		<content:encoded><![CDATA[<p>后端有14个模块，php如果都与之进行短连接的话，性能会很差（除非端口复用之类的，否则端口不够用，端口复用最好是同机房），有没有考虑过用PHP实现个类似连接池之类的东西呢。 另外网络中读取的速度一般为磁盘的1/10~1/100，瓶颈很明显在网络上了，要提高这样的应用的性能，就只能把网络中得数据缓存到本地磁盘啦，这个用JAVA,PHP,PYTHON都会是一样的结果，呵呵，我随便说说</p>
]]></content:encoded>
	</item>
</channel>
</rss>

