<?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>rel=me &#187; mongrel_cluster</title>
	<atom:link href="http://rel.me/t/mongrel_cluster/feed/" rel="self" type="application/rss+xml" />
	<link>http://rel.me</link>
	<description>programming, objective-c, cocoa, iphone, c</description>
	<lastBuildDate>Wed, 01 Feb 2012 07:26:50 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>nginx</title>
		<link>http://rel.me/2007/09/03/nginx/</link>
		<comments>http://rel.me/2007/09/03/nginx/#comments</comments>
		<pubDate>Mon, 03 Sep 2007 04:56:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Deployment]]></category>
		<category><![CDATA[mongrel_cluster]]></category>
		<category><![CDATA[nginx]]></category>

		<guid isPermaLink="false">/2007/09/03/nginx</guid>
		<description><![CDATA[I switched from apache + mod_proxy_balancer to nginx, which on my lame VPS is saving me around 14 precious MB of memory. There are so many reasons to use nginx. Ezra recommends the monit + nginx + mongrel_cluster stack, and my friend/co-worker has a great conf to start with. It took me about 5 minutes [...]]]></description>
			<content:encoded><![CDATA[<p>I switched from apache + mod_proxy_balancer to nginx, which on my lame VPS is saving me around 14 precious MB of memory. There are so many reasons to use nginx. <a href="http://engineyard.com/">Ezra</a> recommends the monit + nginx + mongrel_cluster stack, and my friend/co-worker <a href="http://www.fucema.net/2007/8/28/rails-on-mongrel-cluster-nginx">has a great conf</a> to start with. It took me about 5 minutes to setup, even with multiple hosts.</p>
<p>My <a href="/nginx_conf.txt">nginx.conf</a> and <a href="/nginx_init.txt">init script</a>.</p>
<p>Nginx is hyper optimized&#8230;</p>
<table class="CodeRay">
<tr>
<td class="line_numbers" title="click to toggle" onclick="with (this.firstChild.style) { display = (display == '') ? 'none' : '' }">
<pre>1<tt>
</tt>2<tt>
</tt>3<tt>
</tt>4<tt>
</tt></pre>
</td>
<td class="code">
<pre ondblclick="with (this.style) { overflow = (overflow == 'auto' || overflow == '') ? 'visible' : 'auto' }">./ngx_http_upstream.c:        if (h-&gt;value.len == 2) {<tt>
</tt>./ngx_http_upstream.c:            if (c0 == 'n' &amp;&amp; c1 == 'o') {<tt>
</tt>./ngx_http_upstream.c:        } else if (h-&gt;value.len == 3) {<tt>
</tt>./ngx_http_upstream.c:            if (c0 == 'y' &amp;&amp; c1 == 'e' &amp;&amp; c2 == 's') {</pre>
</td>
</tr>
</table>
]]></content:encoded>
			<wfw:commentRss>http://rel.me/2007/09/03/nginx/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

