<?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>GimmeSoda &#187; Websites</title>
	<atom:link href="http://www.gimmesoda.com/category/websites/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.gimmesoda.com</link>
	<description>The Blog of a Programmer</description>
	<lastBuildDate>Sun, 29 Jan 2012 10:26:09 +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>GimmeSoda.com Server Move: XCache, W3-Total-Cache and Nginx = Awesome</title>
		<link>http://www.gimmesoda.com/gimmesoda-com-server-move-xcache-w3-total-cache-and-nginx-awesome/</link>
		<comments>http://www.gimmesoda.com/gimmesoda-com-server-move-xcache-w3-total-cache-and-nginx-awesome/#comments</comments>
		<pubDate>Fri, 24 Sep 2010 09:34:50 +0000</pubDate>
		<dc:creator>JuanJose</dc:creator>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[Hosting]]></category>
		<category><![CDATA[Nginx]]></category>
		<category><![CDATA[Personal Projects]]></category>
		<category><![CDATA[Services]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[The Blog]]></category>
		<category><![CDATA[Websites]]></category>

		<guid isPermaLink="false">http://www.gimmesoda.com/?p=511</guid>
		<description><![CDATA[I&#8217;ve moved this site (gimmesoda.com) over to a test server (Private Server) I&#8217;ve got running on DreamHost. This server is running Nginx instead of Apache, both machines (the PS it was running on before, and the PS it is now running on) are set to 2GB of memory and the software setup of WordPress is  [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve moved this site (gimmesoda.com) over to a test server (Private Server) I&#8217;ve got running on DreamHost. This server is running Nginx instead of Apache, both machines (the PS it was running on before, and the PS it is now running on) are set to 2GB of memory and the software setup of WordPress is exactly the same.</p>
<h2>Why:</h2>
<p>Apache can be a memory hog.</p>
<p>As more and more traffic comes into a website the Apache process continues to spawn memory hogging worker processes and during my basic testing I saw over 90 apache worker processes spawned at one time. Each of those processes were taking about 23MB worth of memory when spawned (23 x 90 = 2070MB) which maxed out the $100/month PS machine and returned several hundred errors at 100 concurrent connections.</p>
<p>Nginx handles concurrency much better and requires far less memory.</p>
<p>When the site was moved over to Nginx I ran the same test (1000 requests with 100 concurrency) and memory usage was under 800MB, it also returned 0 errors compared to the 664 from the use of Apache. Also, you should take note of the speed between the two in the results below, Nginx returned all requests in under 1s.</p>
<h2>WordPress Cache Settings:</h2>
<p>I&#8217;ve switched off the use of WP-SuperCache, which uses disk based caching and provides no further options such as opcode caching (APC/XCache/eAccelerator) which W3-Total-Cache does provide! Not only does it provide a static page cache as well as opcode options but it incorporates minify options, database, and object caching among other features.</p>
<p>All cache options have been set to XCache rather then disk, after all reading from memory is faster then reading from disk.</p>
<h2>The Setup:</h2>
<ul>
<li>WordPress v3.0.1
<ul>
<li>Theme
<ul>
<li>I am using the Mystique theme, which thankfully does NOT use the timthumb.php script (I am NOT a fan of it).</li>
</ul>
<ul>
<li>Plugins
<ul>
<li>Akismet</li>
<li>All in One SEO Pack</li>
<li>Categories to Tags Converter Importer</li>
<li>Clean-Contact</li>
<li>Dragon Design Sitemap Generator</li>
<li>DreamHost WordPress Backup</li>
<li>FeedBurner FeedSmith</li>
<li>Google XML Sitemaps</li>
<li>Paypal Donate Plugin for WordPress Widget Support</li>
<li>Permalinks Moved Permanently</li>
<li>Piwiks Analytics</li>
<li>Twitter for WordPress</li>
<li>W3-Total-Cache</li>
<li>WordPress.com Stats</li>
<li>WordPress Importer</li>
<li>WP-FLV</li>
<li>WP-PayPalDonate</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
<h2>AB (ApacheBench) Results:</h2>
<table width="100%">
<tbody>
<tr>
<td width="50%">Apache Results</td>
<td width="50%">Nginx Results</td>
</tr>
<tr>
<td>
<pre>This is ApacheBench, Version 2.3 &lt;$Revision: 655654 $&gt;
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/

Benchmarking www.gimmesoda.com (be patient)
Completed 100 requests
Completed 200 requests
Completed 300 requests
Completed 400 requests
Completed 500 requests
Completed 600 requests
Completed 700 requests
Completed 800 requests
Completed 900 requests
Completed 1000 requests
Finished 1000 requests

Server Software:        Apache
Server Hostname:        www.gimmesoda.com
Server Port:            80

Document Path:          /
Document Length:        30876 bytes

Concurrency Level:      100
Time taken for tests:   6.912 seconds
Complete requests:      1000
Failed requests:        664
   (Connect: 0, Receive: 0, Length: 664, Exceptions: 0)
Write errors:           0
Non-2xx responses:      664
Total transferred:      10878952 bytes
HTML transferred:       10588808 bytes
Requests per second:    144.67 [#/sec] (mean)
Time per request:       691.234 [ms] (mean)
Time per request:       6.912 [ms] (mean, across all concurrent requests)
Transfer rate:          1536.96 [Kbytes/sec] received

Connection Times (ms)
              min  mean[+/-sd] median   max
Connect:        1   15 164.4      7    3013
Processing:    24  511 782.2    190    4087
Waiting:       17  503 778.0    188    4074
Total:         46  526 792.6    196    4091

Percentage of the requests served within a certain time (ms)
  50%    196
  66%    266
  75%    499
  80%    744
  90%   2018
  95%   2703
  98%   2983
  99%   3060
 100%   4091 (longest request)</pre>
</td>
<td>
<pre>This is ApacheBench, Version 2.3 &lt;$Revision: 655654 $&gt;
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/

Benchmarking www.gimmesoda.com (be patient)
Completed 100 requests
Completed 200 requests
Completed 300 requests
Completed 400 requests
Completed 500 requests
Completed 600 requests
Completed 700 requests
Completed 800 requests
Completed 900 requests
Finished 1000 requests

Server Software:        nginx/0.7.65
Server Hostname:        www.gimmesoda.com
Server Port:            80

Document Path:          /
Document Length:        30874 bytes

Concurrency Level:      100
Time taken for tests:   3.158373 seconds
Complete requests:      1000
Failed requests:        0
Write errors:           0
Total transferred:      31348328 bytes
HTML transferred:       30961170 bytes
Requests per second:    316.62 [#/sec] (mean)
Time per request:       315.837 [ms] (mean)
Time per request:       3.158 [ms] (mean, across all concurrent requests)
Transfer rate:          9692.65 [Kbytes/sec] received

Connection Times (ms)
              min  mean[+/-sd] median   max
Connect:        1   22  11.8     20      63
Processing:    36  184 108.6    144     874
Waiting:        8   34  24.6     26     279
Total:         37  206 111.5    166     913

Percentage of the requests served within a certain time (ms)
  50%    166
  66%    209
  75%    251
  80%    273
  90%    347
  95%    405
  98%    569
  99%    641
 100%    913 (longest request)</pre>
</td>
</tr>
</tbody>
</table>
<p><span style="line-height: 28px; font-size: 26px;">More Information</span></p>
<p>Nginx: A web server written to address the C10K problem. <a href="http://wiki.nginx.org/Main">http://wiki.nginx.org/Main</a></p>
<p>XCache: A fast opcode cacher, it&#8217;s a PHP extension. <a href="http://xcache.lighttpd.net/">http://xcache.lighttpd.net/</a></p>
<p>W3-Total-Cache: A brilliant (and free) wordpress caching plugin that goes the extra mile. <a href="http://wordpress.org/extend/plugins/w3-total-cache/">http://wordpress.org/extend/plugins/w3-total-cache/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.gimmesoda.com/gimmesoda-com-server-move-xcache-w3-total-cache-and-nginx-awesome/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Wedding Rosary Site</title>
		<link>http://www.gimmesoda.com/wedding-rosary-site/</link>
		<comments>http://www.gimmesoda.com/wedding-rosary-site/#comments</comments>
		<pubDate>Sun, 05 Sep 2010 01:08:09 +0000</pubDate>
		<dc:creator>JuanJose</dc:creator>
				<category><![CDATA[Magento Commerce]]></category>
		<category><![CDATA[Personal Projects]]></category>
		<category><![CDATA[Websites]]></category>

		<guid isPermaLink="false">http://www.gimmesoda.com/?p=508</guid>
		<description><![CDATA[We&#8217;ve finally gotten to the point where I&#8217;m happy to be pushing traffic to my wife&#8217;s new site. She makes rosaries for weddings and special occasions as well as some jewelry, we&#8217;ve been selling them for awhile now but didn&#8217;t have a nice site for it up till  [...]]]></description>
			<content:encoded><![CDATA[<p>We&#8217;ve finally gotten to the point where I&#8217;m happy to be pushing traffic to my wife&#8217;s new site. She makes rosaries for weddings and special occasions as well as some jewelry, we&#8217;ve been selling them for awhile now but didn&#8217;t have a nice site for it up till now.</p>
<p><a href="http://www.myweddingrosary.com/">http://www.myweddingrosary.com/</a></p>
<p>MyWeddingRosary.com is built using the Magento eCommerce platform, it&#8217;s integrated with Google Checkout and PayPal for payment processing. Piwik and Google Analytics (with conversion tracking) are both in use, since I like my stats! We&#8217;ve also got all products linked into the Google Base.</p>
<p>Advertising is now running for this site and I&#8217;m keeping a careful eye on the conversion ratio for both sales and leads. Wish us luck!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.gimmesoda.com/wedding-rosary-site/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New Site: 10DollarBluRay.com</title>
		<link>http://www.gimmesoda.com/new-site-10dollarbluray-com/</link>
		<comments>http://www.gimmesoda.com/new-site-10dollarbluray-com/#comments</comments>
		<pubDate>Thu, 15 Apr 2010 09:48:22 +0000</pubDate>
		<dc:creator>JuanJose</dc:creator>
				<category><![CDATA[Affiliate Marketing]]></category>
		<category><![CDATA[Personal Projects]]></category>
		<category><![CDATA[Websites]]></category>

		<guid isPermaLink="false">http://www.gimmesoda.com/?p=470</guid>
		<description><![CDATA[Working on a new affiliate marketing project, http://www.10dollarbluray.com/
The purpose of this site is to locate low cost blu ray movies on Amazon, ordered by purchase rank. I obviously need to proper design and I&#8217;m working on adding a few extra features (search and a site map). Anyhow, take a  [...]]]></description>
			<content:encoded><![CDATA[<p>Working on a new affiliate marketing project, <a href="http://www.10dollarbluray.com/">http://www.10dollarbluray.com/</a></p>
<p>The purpose of this site is to locate low cost blu ray movies on Amazon, ordered by purchase rank. I obviously need to proper design and I&#8217;m working on adding a few extra features (search and a site map). Anyhow, take a look, feel free to let me know if you have ideas or questions!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.gimmesoda.com/new-site-10dollarbluray-com/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>StumbleUpon</title>
		<link>http://www.gimmesoda.com/stumbleupon/</link>
		<comments>http://www.gimmesoda.com/stumbleupon/#comments</comments>
		<pubDate>Thu, 20 Jul 2006 04:14:00 +0000</pubDate>
		<dc:creator>JuanJose</dc:creator>
				<category><![CDATA[Websites]]></category>

		<guid isPermaLink="false">http://www.gimmesoda.com/?p=12</guid>
		<description><![CDATA[StumbleUpon.com
Go there and stumble, stumble long, stumble hard.
Their advertising program is damn nice too!
]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.stumbleupon.com">StumbleUpon.com</a></p>
<p>Go there and stumble, stumble long, stumble hard.</p>
<p>Their <a href="http://www.stumbleupon.com/ads/">advertising program</a> is damn nice too!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.gimmesoda.com/stumbleupon/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using disk: enhanced

Served from: www.gimmesoda.com @ 2012-02-10 08:05:41 -->
