<?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>ServerGrove Blog &#187; performance</title>
	<atom:link href="http://blog.servergrove.com/tag/performance/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.servergrove.com</link>
	<description>VPS &#38; Shared Hosting, symfony, Zend Framework, Rails, Adobe Flex, Hosting News, Web Design Tips, Webhosting and more....</description>
	<lastBuildDate>Tue, 31 Aug 2010 19:26:16 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>What Facebook&#8217;s HipHop means for PHP-based applications hosting</title>
		<link>http://blog.servergrove.com/2010/02/03/what-facebooks-hiphop-means-for-php-based-applications-hosting/</link>
		<comments>http://blog.servergrove.com/2010/02/03/what-facebooks-hiphop-means-for-php-based-applications-hosting/#comments</comments>
		<pubDate>Wed, 03 Feb 2010 05:42:37 +0000</pubDate>
		<dc:creator>Pablo</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[facebook]]></category>
		<category><![CDATA[hiphop]]></category>
		<category><![CDATA[performance]]></category>

		<guid isPermaLink="false">http://blog.servergrove.com/?p=922</guid>
		<description><![CDATA[Today Facebook revealed what they have been working behind the scenes for a long time. In a nutshell, HipHop is aimed at improving PHP&#8217;s performance by converting PHP code to C++ and then compiling it with g++, thus allowing Facebook to keep up with their growth with fewer servers. In theory, by running compiled code, [...]]]></description>
			<content:encoded><![CDATA[<p>Today <a href="http://developers.facebook.com/news.php?blog=1&amp;story=358">Facebook revealed</a> what they have been working behind the scenes for a long time. In a nutshell, <a href="http://developers.facebook.com/news.php?blog=1&amp;story=358">HipHop</a> is aimed at improving PHP&#8217;s performance by converting PHP code to C++ and then compiling it with g++, thus allowing Facebook to keep up with their growth with fewer servers.</p>
<p>In theory, by running compiled code, users would get major gains in performance with the same hardware. This is specially true for applications and sites built using frameworks like Symfony, Zend Framework, Cakephp and others. But it also means that you will need to compile the PHP code and upload the result into a server that can understand and run it. In consequence, hosting that will support HipHop be limited.</p>
<p>We have some questions before hand that will get answered pretty soon. How does HipHop compare with running PHP with APC enabled? Since Facebook contributed a lot to APC, we are assuming that using HipHop should be an improvement. We also are very curious to see how it will fare with frameworks like Symfony and Zend Framework.</p>
<p>Here at ServerGrove, our core business is PHP hosting, and as you can imagine that we are very excited about this announcement. As we were <a href="http://blog.servergrove.com/2009/06/26/php-53-update/">one of the first companies to offer PHP 5.3 hosting</a>, we will test HipHop to see what it offers for PHP hosting. Part of our mission is to squeeze every single CPU cycle to offer the best performance from our servers so our customers&#8217; websites run as fast as possible. If HipHop is as good as it sounds, be sure that it will be added to our products offering, but not before making sure we can provide the top-level support that our customers deserve and get from us.</p>
<p>We look forward to hearing your predictions on HipHop. How will symfony and Zend Framework fit in the schema of things? How will this affect our workflow? If HipHop is as good as it sounds, what will be the ultimate hosting product to go with it? Check back soon, as our tests materialize we will post them here.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.servergrove.com/2010/02/03/what-facebooks-hiphop-means-for-php-based-applications-hosting/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>The importance of APC cache for symfony applications</title>
		<link>http://blog.servergrove.com/2009/12/07/the-importance-of-apc-cache-for-symfony-applications/</link>
		<comments>http://blog.servergrove.com/2009/12/07/the-importance-of-apc-cache-for-symfony-applications/#comments</comments>
		<pubDate>Mon, 07 Dec 2009 14:51:14 +0000</pubDate>
		<dc:creator>Pablo</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[symfony]]></category>
		<category><![CDATA[apc]]></category>
		<category><![CDATA[performance]]></category>

		<guid isPermaLink="false">http://blog.servergrove.com/?p=788</guid>
		<description><![CDATA[I&#8217;ve been developing a website based on symfony. Since symfony 1.3 and 1.4 came out this week, I decided to upgrade it to 1.3 and then when I feel confortable to 1.4. The upgrade was a little bit more complicated that I anticipated, mainly because I was using some plugins that are not compatible with [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been developing a website based on symfony. Since symfony 1.3 and 1.4 came out this week, I decided to upgrade it to 1.3 and then when I feel confortable to 1.4. The upgrade was a little bit more complicated that I anticipated, mainly because I was using some plugins that are not compatible with these new versions yet.</p>
<p>Then, I decided to run some benchmarks using ab (Apache Benchmark) to see how symfony 1.2 and 1.3 compared. To my surprise, I did not see an improvement on speed. I was expecting the new version would be faster, but for some reason I am not seeing any improvements. I have not gone into speed improvement measures yet, this was just out of curiosity with a symfony project pretty much straight out of the box. And my development box is not fancy or speedy, but for comparing both versions it would be OK.</p>
<p>When I turned on view caching, things really improved, doubling the requests/second rate. I am running PHP 5.3.1 here, so I am using all the new PHP memory handling and speed improvements, which is very good for frameworks since they tend to be heavy users.</p>
<p>Then, since I was already dancing, I dediced to install <a href="http://us2.php.net/apc">APC, an free opcode cache</a>. Basically it caches PHP compiled source code so subsequent requests do not have to do the parsing of PHP files. It always improves performance without touching a single line of code. But to my surprise, I got an increase from about 14 requests/sec (remember, this server is not fast at all!) to over 70 requests/sec !!! That&#8217;s 5x times faster!</p>
<p>It also includes a nice web page with status and statistics of cached data.</p>
<p><img class="alignnone size-full wp-image-792" title="apc-console" src="http://blog.servergrove.com/wp-content/uploads/2009/12/apc-console1.jpg" alt="apc-console" width="500" height="373" /></p>
<p>I did not get into more tweaking, but you can see there is a big difference. That&#8217;s why all our VPS servers come with APC installed by default, so you can get all the juice from your server. And that&#8217;s why you need to use it whenever possible.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.servergrove.com/2009/12/07/the-importance-of-apc-cache-for-symfony-applications/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
