﻿<?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: Is Apache the new Firefox?</title>
	<atom:link href="http://www.standalone-sysadmin.com/blog/2009/07/is-apache-the-new-firefox/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.standalone-sysadmin.com/blog/2009/07/is-apache-the-new-firefox/</link>
	<description>A blog for IT Admins who do everything by an IT Admin who does everything</description>
	<lastBuildDate>Tue, 09 Mar 2010 14:29:12 -0500</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: GigaGeek</title>
		<link>http://www.standalone-sysadmin.com/blog/2009/07/is-apache-the-new-firefox/comment-page-1/#comment-3046</link>
		<dc:creator>GigaGeek</dc:creator>
		<pubDate>Thu, 09 Jul 2009 17:13:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.standalone-sysadmin.com/blog/?p=678#comment-3046</guid>
		<description>I know this discussion is largely around open source or free http caching / proxy type servers, so please don&#039;t flame me for a comercial product plug.  

But BlueCoat has an amazing &lt;a&gt;appliance&lt;/a&gt; that sits in this niche very nicely.  I have used several of these over the years and their capabilities and features are hard to beat.

Sorry for the comerical plug.  I don&#039;t often recommend a commercial product if I can help it, but this company and their product are top notch.

Also, while a little off topic, they also have a great content filter solution free for home use.  It is called &lt;a href=&quot;http://www1.k9webprotection.com/&quot; rel=&quot;nofollow&quot;&gt;K9&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p>I know this discussion is largely around open source or free http caching / proxy type servers, so please don&#8217;t flame me for a comercial product plug.  </p>
<p>But BlueCoat has an amazing <a>appliance</a> that sits in this niche very nicely.  I have used several of these over the years and their capabilities and features are hard to beat.</p>
<p>Sorry for the comerical plug.  I don&#8217;t often recommend a commercial product if I can help it, but this company and their product are top notch.</p>
<p>Also, while a little off topic, they also have a great content filter solution free for home use.  It is called <a href="http://www1.k9webprotection.com/" rel="nofollow">K9</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Niczar</title>
		<link>http://www.standalone-sysadmin.com/blog/2009/07/is-apache-the-new-firefox/comment-page-1/#comment-3021</link>
		<dc:creator>Niczar</dc:creator>
		<pubDate>Tue, 07 Jul 2009 13:29:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.standalone-sysadmin.com/blog/?p=678#comment-3021</guid>
		<description>I don&#039;t know much about nginx and pound but here&#039;s how it differs: haproxy doesn&#039;t do caching, it&#039;s mostly a load balancer, but with advanced layer 7 capabilities and very good logging. In my case I use it mostly to load balance and failover non-HTTP traffic. 
In effect it&#039;s a very good replacement for LVS (kernel-based load balancing), but in user-mode (and with the same performance thanks to using the latest kernel API, vmsplice and all that).</description>
		<content:encoded><![CDATA[<p>I don&#8217;t know much about nginx and pound but here&#8217;s how it differs: haproxy doesn&#8217;t do caching, it&#8217;s mostly a load balancer, but with advanced layer 7 capabilities and very good logging. In my case I use it mostly to load balance and failover non-HTTP traffic.<br />
In effect it&#8217;s a very good replacement for LVS (kernel-based load balancing), but in user-mode (and with the same performance thanks to using the latest kernel API, vmsplice and all that).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: BOK</title>
		<link>http://www.standalone-sysadmin.com/blog/2009/07/is-apache-the-new-firefox/comment-page-1/#comment-3016</link>
		<dc:creator>BOK</dc:creator>
		<pubDate>Mon, 06 Jul 2009 20:59:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.standalone-sysadmin.com/blog/?p=678#comment-3016</guid>
		<description>Just to add some fuel to the discussion and various mentioned options: how about &quot;Pound&quot; URL: http://www.apsis.ch/pound/ compared to &quot;nginx&quot; and &quot; HAProxy&quot;?</description>
		<content:encoded><![CDATA[<p>Just to add some fuel to the discussion and various mentioned options: how about &#8220;Pound&#8221; URL: <a href="http://www.apsis.ch/pound/" rel="nofollow">http://www.apsis.ch/pound/</a> compared to &#8220;nginx&#8221; and &#8221; HAProxy&#8221;?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paul</title>
		<link>http://www.standalone-sysadmin.com/blog/2009/07/is-apache-the-new-firefox/comment-page-1/#comment-3015</link>
		<dc:creator>Paul</dc:creator>
		<pubDate>Mon, 06 Jul 2009 16:17:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.standalone-sysadmin.com/blog/?p=678#comment-3015</guid>
		<description>It just occurred to me I don&#039;t even need to persuade customers to split files, both subdomain and primary domain could be hosting the content from the same location as if it was a standard hosting solution, as long as the site designer knows to use &quot;images.blah.com&quot; in for any static content.  Hmm.</description>
		<content:encoded><![CDATA[<p>It just occurred to me I don&#8217;t even need to persuade customers to split files, both subdomain and primary domain could be hosting the content from the same location as if it was a standard hosting solution, as long as the site designer knows to use &#8220;images.blah.com&#8221; in for any static content.  Hmm.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paul</title>
		<link>http://www.standalone-sysadmin.com/blog/2009/07/is-apache-the-new-firefox/comment-page-1/#comment-3014</link>
		<dc:creator>Paul</dc:creator>
		<pubDate>Mon, 06 Jul 2009 16:14:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.standalone-sysadmin.com/blog/?p=678#comment-3014</guid>
		<description>@Greg 

The advantage of nginx isn&#039;t purely from a speed perspective.  I did some rough testing myself before I wrote the blog post linked to, and I did see some increase in speed when running ab on one desktop against my own requesting a static image (50,000 times, scaled concurrent connections up in tests from 1 to 50), even on multiple repeats of the benchmark.

What is the most important benefit to me as a sysadmin is how lightweight it is, regardless of the number of connections.  Unlike apache that uses more and more memory and resources, nginx and lighttpd remain nice and small.  The more load a server is under the more the advantages of nginx type browsers come to matter.  It means that I can get that much more out of a web server cluster than I could before for very little effort.

It&#039;s also worth thinking about what occurs with the pages you&#039;re loading on your server, and considering the ratio of static to dynamic content on a site.  On typical sites if you were to run something like these you&#039;ll find there often aren&#039;t that many dynamic calls, at least in relation to static.  I&#039;d definitely agree with you, in an ideal world I would split up static and dynamic content between sub domains, then have the appropriate webserver listening on appropriate ports/IPs for them.  It&#039;s much more elegant.
Sadly isn&#039;t always an option, particularly in my particular line of business. I work for a web hosting company, and I help design and implement custom solutions for customers.  Trying to explain the need to split up content in different locations can often be tricky.

There is an interesting blog &lt;a href=&quot;http://bit.ly/jQp25&quot; rel=&quot;nofollow&quot;&gt;here&lt;/a&gt; where someone demonstrates how they link nginx in to &quot;WP Super Cache&quot; so that if there is cached content that gets served straight away by nginx instead of proxying requests through to Apache.</description>
		<content:encoded><![CDATA[<p>@Greg </p>
<p>The advantage of nginx isn&#8217;t purely from a speed perspective.  I did some rough testing myself before I wrote the blog post linked to, and I did see some increase in speed when running ab on one desktop against my own requesting a static image (50,000 times, scaled concurrent connections up in tests from 1 to 50), even on multiple repeats of the benchmark.</p>
<p>What is the most important benefit to me as a sysadmin is how lightweight it is, regardless of the number of connections.  Unlike apache that uses more and more memory and resources, nginx and lighttpd remain nice and small.  The more load a server is under the more the advantages of nginx type browsers come to matter.  It means that I can get that much more out of a web server cluster than I could before for very little effort.</p>
<p>It&#8217;s also worth thinking about what occurs with the pages you&#8217;re loading on your server, and considering the ratio of static to dynamic content on a site.  On typical sites if you were to run something like these you&#8217;ll find there often aren&#8217;t that many dynamic calls, at least in relation to static.  I&#8217;d definitely agree with you, in an ideal world I would split up static and dynamic content between sub domains, then have the appropriate webserver listening on appropriate ports/IPs for them.  It&#8217;s much more elegant.<br />
Sadly isn&#8217;t always an option, particularly in my particular line of business. I work for a web hosting company, and I help design and implement custom solutions for customers.  Trying to explain the need to split up content in different locations can often be tricky.</p>
<p>There is an interesting blog <a href="http://bit.ly/jQp25" rel="nofollow">here</a> where someone demonstrates how they link nginx in to &#8220;WP Super Cache&#8221; so that if there is cached content that gets served straight away by nginx instead of proxying requests through to Apache.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Niczar</title>
		<link>http://www.standalone-sysadmin.com/blog/2009/07/is-apache-the-new-firefox/comment-page-1/#comment-3013</link>
		<dc:creator>Niczar</dc:creator>
		<pubDate>Mon, 06 Jul 2009 16:11:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.standalone-sysadmin.com/blog/?p=678#comment-3013</guid>
		<description>Works very well for me so far. It negates the need for moving away from Apache in many cases. It also protects against quite a few DOS. Logging is superb, so is load balancing and performance; but then I&#039;m not using it myself on a high demand website, however users tend to agree on this.</description>
		<content:encoded><![CDATA[<p>Works very well for me so far. It negates the need for moving away from Apache in many cases. It also protects against quite a few DOS. Logging is superb, so is load balancing and performance; but then I&#8217;m not using it myself on a high demand website, however users tend to agree on this.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matt Simmons</title>
		<link>http://www.standalone-sysadmin.com/blog/2009/07/is-apache-the-new-firefox/comment-page-1/#comment-3012</link>
		<dc:creator>Matt Simmons</dc:creator>
		<pubDate>Mon, 06 Jul 2009 16:07:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.standalone-sysadmin.com/blog/?p=678#comment-3012</guid>
		<description>@Niczar: Issues with haproxy?</description>
		<content:encoded><![CDATA[<p>@Niczar: Issues with haproxy?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Niczar</title>
		<link>http://www.standalone-sysadmin.com/blog/2009/07/is-apache-the-new-firefox/comment-page-1/#comment-3011</link>
		<dc:creator>Niczar</dc:creator>
		<pubDate>Mon, 06 Jul 2009 16:02:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.standalone-sysadmin.com/blog/?p=678#comment-3011</guid>
		<description>Whatever you do, just put &lt;a href=&quot;http://haproxy.1wt.eu/&quot; rel=&quot;nofollow&quot;&gt;haproxy&lt;/a&gt; in front. You can thank me later.</description>
		<content:encoded><![CDATA[<p>Whatever you do, just put <a href="http://haproxy.1wt.eu/" rel="nofollow">haproxy</a> in front. You can thank me later.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nick Anderson</title>
		<link>http://www.standalone-sysadmin.com/blog/2009/07/is-apache-the-new-firefox/comment-page-1/#comment-3010</link>
		<dc:creator>Nick Anderson</dc:creator>
		<pubDate>Mon, 06 Jul 2009 15:38:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.standalone-sysadmin.com/blog/?p=678#comment-3010</guid>
		<description>If your looking to do reverse proxy you might want to look at varnish. I have some friends who use it with great success for high traffic sites.

Ive tested nginx vs apache for php in the past. I did not do extensive testing but nginx in my tests consistently had faster page loads and higher throughput in apachebench.</description>
		<content:encoded><![CDATA[<p>If your looking to do reverse proxy you might want to look at varnish. I have some friends who use it with great success for high traffic sites.</p>
<p>Ive tested nginx vs apache for php in the past. I did not do extensive testing but nginx in my tests consistently had faster page loads and higher throughput in apachebench.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matt Simmons</title>
		<link>http://www.standalone-sysadmin.com/blog/2009/07/is-apache-the-new-firefox/comment-page-1/#comment-3008</link>
		<dc:creator>Matt Simmons</dc:creator>
		<pubDate>Mon, 06 Jul 2009 14:25:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.standalone-sysadmin.com/blog/?p=678#comment-3008</guid>
		<description>@Greg

Thanks for enumerating those options. I think 3 looks like the best solution for my actual application, but I&#039;m interested in playing with nginx more just to see what all the fuss is about :-) 

I&#039;ll let you know once I implement one of them. Heck, I&#039;ll probably post it here!</description>
		<content:encoded><![CDATA[<p>@Greg</p>
<p>Thanks for enumerating those options. I think 3 looks like the best solution for my actual application, but I&#8217;m interested in playing with nginx more just to see what all the fuss is about <img src='http://www.standalone-sysadmin.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />  </p>
<p>I&#8217;ll let you know once I implement one of them. Heck, I&#8217;ll probably post it here!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Greg</title>
		<link>http://www.standalone-sysadmin.com/blog/2009/07/is-apache-the-new-firefox/comment-page-1/#comment-3007</link>
		<dc:creator>Greg</dc:creator>
		<pubDate>Mon, 06 Jul 2009 14:09:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.standalone-sysadmin.com/blog/?p=678#comment-3007</guid>
		<description>If you&#039;re running nginx or lighttpd as a pure reverse proxy to apache without splitting or modifying the workload, I&#039;m not sure you&#039;d see big gains.

Some alternative ideas to try out ...

1) Assuming you have another IP to burn, run apache and nginx side by side.  Have one (or multiple) subdomains pointed at nginx for your static content such as images, pdf&#039;s.  If you spread the static across multiple subdomains, you might be able to trick browsers into making parallel requests to speed up render times.

2) If you don&#039;t have another IP to burn, you can perform a similar trick using nginx as a reverse proxy.  Have nginx handle static files by itself, and reverse proxy non-static stuff to a apache (note, you may need mod_rpaf to fix your logs).

3) Run your scripting language out of mod_fcgid.  This works *really* well with PHP and mpm-worker Apache, as long as you can live with the limitations of PHP as a FastCGI (no PHP directives in .htaccess files is the big one -- you can get around that by having an intelligent php.ini and/or overriding in code). This way, static stuff is handled by Apache as a thread, without bringing the overhead of PHP where it&#039;s not needed.

I&#039;ve built more than a few Option 3&#039;s in high load hosting environments, and I&#039;ll be building a combo option-1-and-3 solution Real Soon Now (tm).

Ping me if you try one of these options out; I&#039;d like to know how it turns out.</description>
		<content:encoded><![CDATA[<p>If you&#8217;re running nginx or lighttpd as a pure reverse proxy to apache without splitting or modifying the workload, I&#8217;m not sure you&#8217;d see big gains.</p>
<p>Some alternative ideas to try out &#8230;</p>
<p>1) Assuming you have another IP to burn, run apache and nginx side by side.  Have one (or multiple) subdomains pointed at nginx for your static content such as images, pdf&#8217;s.  If you spread the static across multiple subdomains, you might be able to trick browsers into making parallel requests to speed up render times.</p>
<p>2) If you don&#8217;t have another IP to burn, you can perform a similar trick using nginx as a reverse proxy.  Have nginx handle static files by itself, and reverse proxy non-static stuff to a apache (note, you may need mod_rpaf to fix your logs).</p>
<p>3) Run your scripting language out of mod_fcgid.  This works *really* well with PHP and mpm-worker Apache, as long as you can live with the limitations of PHP as a FastCGI (no PHP directives in .htaccess files is the big one &#8212; you can get around that by having an intelligent php.ini and/or overriding in code). This way, static stuff is handled by Apache as a thread, without bringing the overhead of PHP where it&#8217;s not needed.</p>
<p>I&#8217;ve built more than a few Option 3&#8217;s in high load hosting environments, and I&#8217;ll be building a combo option-1-and-3 solution Real Soon Now &#8482;.</p>
<p>Ping me if you try one of these options out; I&#8217;d like to know how it turns out.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ryan Nedeff</title>
		<link>http://www.standalone-sysadmin.com/blog/2009/07/is-apache-the-new-firefox/comment-page-1/#comment-3006</link>
		<dc:creator>Ryan Nedeff</dc:creator>
		<pubDate>Mon, 06 Jul 2009 13:51:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.standalone-sysadmin.com/blog/?p=678#comment-3006</guid>
		<description>While I&#039;ve been away from Apache in enterprise for a year or two, I have to agree. Firefox is my browser of choice, but I&#039;m currently running without any plug-ins or add-ons. My home system frequently becomes sluggish in heavy browsing sessions.

Allthough I&#039;m pretty loyal to Mozilla corp and Firefox, I can&#039;t say I haven&#039;t been thinking of checking out what else is on the market.</description>
		<content:encoded><![CDATA[<p>While I&#8217;ve been away from Apache in enterprise for a year or two, I have to agree. Firefox is my browser of choice, but I&#8217;m currently running without any plug-ins or add-ons. My home system frequently becomes sluggish in heavy browsing sessions.</p>
<p>Allthough I&#8217;m pretty loyal to Mozilla corp and Firefox, I can&#8217;t say I haven&#8217;t been thinking of checking out what else is on the market.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->