<?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>Comments on: Apache Optimization and NGINX</title>
	<atom:link href="http://www.braindonor.net/coding-blog/apache-optimization-and-nginx/206/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.braindonor.net/coding-blog/apache-optimization-and-nginx/206/</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Fri, 03 Sep 2010 11:39:53 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: John Hoff</title>
		<link>http://www.braindonor.net/coding-blog/apache-optimization-and-nginx/206/comment-page-1/#comment-340</link>
		<dc:creator>John Hoff</dc:creator>
		<pubDate>Wed, 02 Jun 2010 12:18:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.braindonor.net/?p=206#comment-340</guid>
		<description>Tom,

Two other reasons besides mod_php quickly come to mind on why I use prefork apache--mod_perl and mod_python.  The solution of using NGINX as a reverse proxy is gaining more and more popularity because NGINX is written with this in mind as a primary operating task.  Apache can be used as a very effective reverse proxy as well.  In fact, my first professional introduction into Apache optimization had once instance of Apache serving static content and two other instances of Apache serving mod_perl content.  Regardless of how you separate things, the value is the separation and optimizing the area that will provide the greatest improvement for the effort.

One of the reasons that there are so few published benchmarks is the variety of architectures that can be used.  Apache, lighthttpd, NGINX, FastCGI, Catalyst, Perlbal...the list keeps going.  Combine that with custom webserver frameworks--think Python web framework--and it should be clear that there is no single solution.

The other reason is the challenge of testing real-world web application performance.  It is much the same reason why you do not see worthwhile benchmarks comparing Apache to IIS.  Nearly very large web application is a custom application and architecture.  Building a valuable benchmark requires three elements: a testing environment that can produce a significant fraction of the production environment capacity, a testing framework that is able to emulate real-world web traffic, and a metric gathering framework that is able to measure capacity usage on a per-request basis.  I have only had access to all of those elements once--and only because my team received a new production environment a month ahead of schedule.

Do not let a lack of benchmarks stop you from experimenting!  Experimenting with tools such as FastCGI will give you one more tool to work with and will definitely give you a perspective that is different from the standard Apache CGI environment.</description>
		<content:encoded><![CDATA[<p>Tom,</p>
<p>Two other reasons besides mod_php quickly come to mind on why I use prefork apache&#8211;mod_perl and mod_python.  The solution of using NGINX as a reverse proxy is gaining more and more popularity because NGINX is written with this in mind as a primary operating task.  Apache can be used as a very effective reverse proxy as well.  In fact, my first professional introduction into Apache optimization had once instance of Apache serving static content and two other instances of Apache serving mod_perl content.  Regardless of how you separate things, the value is the separation and optimizing the area that will provide the greatest improvement for the effort.</p>
<p>One of the reasons that there are so few published benchmarks is the variety of architectures that can be used.  Apache, lighthttpd, NGINX, FastCGI, Catalyst, Perlbal&#8230;the list keeps going.  Combine that with custom webserver frameworks&#8211;think Python web framework&#8211;and it should be clear that there is no single solution.</p>
<p>The other reason is the challenge of testing real-world web application performance.  It is much the same reason why you do not see worthwhile benchmarks comparing Apache to IIS.  Nearly very large web application is a custom application and architecture.  Building a valuable benchmark requires three elements: a testing environment that can produce a significant fraction of the production environment capacity, a testing framework that is able to emulate real-world web traffic, and a metric gathering framework that is able to measure capacity usage on a per-request basis.  I have only had access to all of those elements once&#8211;and only because my team received a new production environment a month ahead of schedule.</p>
<p>Do not let a lack of benchmarks stop you from experimenting!  Experimenting with tools such as FastCGI will give you one more tool to work with and will definitely give you a perspective that is different from the standard Apache CGI environment.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tom D</title>
		<link>http://www.braindonor.net/coding-blog/apache-optimization-and-nginx/206/comment-page-1/#comment-339</link>
		<dc:creator>Tom D</dc:creator>
		<pubDate>Wed, 02 Jun 2010 06:06:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.braindonor.net/?p=206#comment-339</guid>
		<description>Hi,

Thanks for a good article. I realize most people use apache prefork because of thread safety issues with worker (or more likely because that&#039;s how things get set up by default out of the distro&#039;s repos). The most common solution is yours apache for php and nginx for static files. What about using apache w/ fastcgi and having apache serve the static files as worker w/o all the overhead of mod_php for servign a gif?

I&#039;ve been trying to find some decent benchmarks for this, but no one seems to be using worker so no one seems to be benchmarking it. I wish I had the hardware to do it myself but I don&#039;t so I was wondering if you have considered this?

Thanks.</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>Thanks for a good article. I realize most people use apache prefork because of thread safety issues with worker (or more likely because that&#8217;s how things get set up by default out of the distro&#8217;s repos). The most common solution is yours apache for php and nginx for static files. What about using apache w/ fastcgi and having apache serve the static files as worker w/o all the overhead of mod_php for servign a gif?</p>
<p>I&#8217;ve been trying to find some decent benchmarks for this, but no one seems to be using worker so no one seems to be benchmarking it. I wish I had the hardware to do it myself but I don&#8217;t so I was wondering if you have considered this?</p>
<p>Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Advice for Web Entrepreneurs &#171; EVOL.reverse</title>
		<link>http://www.braindonor.net/coding-blog/apache-optimization-and-nginx/206/comment-page-1/#comment-135</link>
		<dc:creator>Advice for Web Entrepreneurs &#171; EVOL.reverse</dc:creator>
		<pubDate>Fri, 27 Nov 2009 15:26:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.braindonor.net/?p=206#comment-135</guid>
		<description>[...] Apache Optimization and NGINX &#8211; self-explanatory. [...]</description>
		<content:encoded><![CDATA[<p>[...] Apache Optimization and NGINX &#8211; self-explanatory. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bookmarks for October 29th through November 4th</title>
		<link>http://www.braindonor.net/coding-blog/apache-optimization-and-nginx/206/comment-page-1/#comment-126</link>
		<dc:creator>Bookmarks for October 29th through November 4th</dc:creator>
		<pubDate>Tue, 10 Nov 2009 14:04:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.braindonor.net/?p=206#comment-126</guid>
		<description>[...] The Braindonor Network &#187; Apache Optimization and NGINX &#8211; [...]</description>
		<content:encoded><![CDATA[<p>[...] The Braindonor Network &raquo; Apache Optimization and NGINX &#8211; [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>
