<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Alex Hochberger &#187; CPU</title>
	<atom:link href="http://alexhochberger.com/tag/cpu/feed/" rel="self" type="application/rss+xml" />
	<link>http://alexhochberger.com</link>
	<description>Using Technology in Business Communications</description>
	<lastBuildDate>Wed, 27 Jul 2011 17:25:57 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='alexhochberger.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://1.gravatar.com/blavatar/123957d94d2294adf774ad46f2840ee3?s=96&#038;d=http%3A%2F%2Fs2.wp.com%2Fi%2Fbuttonw-com.png</url>
		<title>Alex Hochberger &#187; CPU</title>
		<link>http://alexhochberger.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://alexhochberger.com/osd.xml" title="Alex Hochberger" />
	<atom:link rel='hub' href='http://alexhochberger.com/?pushpress=hub'/>
		<item>
		<title>CMS and CPU Usage</title>
		<link>http://alexhochberger.com/2009/07/24/cms-and-cpu-usage/</link>
		<comments>http://alexhochberger.com/2009/07/24/cms-and-cpu-usage/#comments</comments>
		<pubDate>Fri, 24 Jul 2009 23:12:50 +0000</pubDate>
		<dc:creator>alexhochberger</dc:creator>
				<category><![CDATA[Web Site Technology]]></category>
		<category><![CDATA[CMS]]></category>
		<category><![CDATA[content management]]></category>
		<category><![CDATA[CPU]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[optimization]]></category>

		<guid isPermaLink="false">http://alexhochberger.com/?p=31</guid>
		<description><![CDATA[Content Management Systems and CPU Usage<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=alexhochberger.com&amp;blog=8674707&amp;post=31&amp;subd=alexhochberger&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I have normally been adverse to Content Management Systems (CMS), because they generally are coded poorly to work in a &#8220;plugin&#8221; format.  Each page routinely makes dozens of database calls, which can put a big strain on the CPU.  On the other hand, the let an individual programmer quickly add LOTS of functionality that would have required a team of programmers months to develop.  I used to find them particularly heinous because they destroyed SEO attempts, but all the modern systems let you have a reasonable URL structure.  As a result, if you are successful and decide to build the $100,000 website, you can always point the old URLs to the new location and not break links.</p>
<p>However, something that was a reminder today, a spike in traffic can destroy your server if you aren&#8217;t optimized.  If you are getting promoted on television, being interviewed, or otherwise getting mentioned on a popular program that might send a few thousand people to your site at one time, be careful.  Even if bandwidth isn&#8217;t a problem, CPU and Memory might be.  If you are expecting a spike, make your home page static.  Most of your visitors will come there, and if you make it a static page (mod_rewrite them to the dynamic script if they have a logged in cookie), you&#8217;ll drastically cut your database load.</p>
<p>In fact, I think most sites would do well to always make the home page static.  Something we did &#8220;back in the day,&#8221; was program the whole site dynamically, then &#8220;mirror&#8221; the home page to a file with wget or something.  One could have most of their site mirrored to static files, and serve up dynamic pages to logged in users.  Historically, that&#8217;s what <a href="http://www.slashdot.org">Slashdot</a> used to do.</p>
<p>Either way, you should remember to optimize your main queries, and create the appropriate indexes as part of bring a site life.  Bandwidth isn&#8217;t the only constraint, sites without dozens of servers need to worry about CPU and memory usage as well.  A popular television show can send WAY more simultaneous traffic than social media or search engines, at least at one time.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/alexhochberger.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/alexhochberger.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/alexhochberger.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/alexhochberger.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/alexhochberger.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/alexhochberger.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/alexhochberger.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/alexhochberger.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/alexhochberger.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/alexhochberger.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/alexhochberger.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/alexhochberger.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/alexhochberger.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/alexhochberger.wordpress.com/31/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=alexhochberger.com&amp;blog=8674707&amp;post=31&amp;subd=alexhochberger&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://alexhochberger.com/2009/07/24/cms-and-cpu-usage/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7ed06f3a182f0b55c208058280f3f8fa?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">alexhochberger</media:title>
		</media:content>
	</item>
	</channel>
</rss>
