<?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>techno.blog(&#34;Dion&#34;) &#187; Caching</title>
	<atom:link href="http://almaer.com/blog/category/caching/feed" rel="self" type="application/rss+xml" />
	<link>http://almaer.com/blog</link>
	<description>blogging about life, the universe, and everything tech</description>
	<lastBuildDate>Tue, 28 Aug 2012 14:41:55 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Is Zombies the biggest Rails app? :)</title>
		<link>http://almaer.com/blog/is-zombies-the-biggest-rails-app</link>
		<comments>http://almaer.com/blog/is-zombies-the-biggest-rails-app#comments</comments>
		<pubDate>Tue, 21 Aug 2007 19:21:16 +0000</pubDate>
		<dc:creator>dion</dc:creator>
				<category><![CDATA[Caching]]></category>
		<category><![CDATA[Ruby]]></category>
		<category><![CDATA[Tech]]></category>

		<guid isPermaLink="false">http://almaer.com/blog2/is-zombies-the-biggest-rails-app</guid>
		<description><![CDATA[
]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.insidefacebook.com/2007/08/15/live-from-appdevcon-in-san-francisco/">Blake Commagere</a>: &#8220;As you</p>
]]></content:encoded>
			<wfw:commentRss>http://almaer.com/blog/is-zombies-the-biggest-rails-app/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Scaling Websites (RE: Large sites powered by Java web frameworks and Tiles + WebWork)</title>
		<link>http://almaer.com/blog/scaling-websites-re-large-sites-powered-by-java-web-frameworks-and-tiles-webwork</link>
		<comments>http://almaer.com/blog/scaling-websites-re-large-sites-powered-by-java-web-frameworks-and-tiles-webwork#comments</comments>
		<pubDate>Thu, 16 Feb 2006 00:34:43 +0000</pubDate>
		<dc:creator>dion</dc:creator>
				<category><![CDATA[Caching]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[Web Frameworks]]></category>

		<guid isPermaLink="false">http://almaer.com/blog2/scaling-websites-re-large-sites-powered-by-java-web-frameworks-and-tiles-webwork</guid>
		<description><![CDATA[
]]></description>
			<content:encoded><![CDATA[<p>Matt Raible is <a href="http://raibledesigns.com/page/rd?entry=large_sites_powered_by_java">look for large sites powered by Java web frameworks</a>.</p>
<p>Maybe I am in a cranky mood, but I wouldn&#8217;t worry about scaling out the web tier.</p>
<p>You can scale JSF just fine (although I may not like JSF at all ;)</p>
<p>Slashdot does just fine with Perl + memcached.</p>
<p>Your scalability concerns are going to come in with your architecture, and caching.</p>
<p>If the bottleneck is in taking the HTTP info in, parsing it into objects, and the on the back-end doing the opposite, then you have done an amazing job scaling the database and the network layers.</p>
<p>Of course we need to test our architectures etc, but I have just seen a PHP application that handles a massive load, with an average architecture :)</p>
<p>It handled everything just fine because of the caching they use.</p>
<p>This is why TheServerSide.com running on EJB etc was/is such a hilarious thing.  Tapestry isn&#8217;t the bottleneck ;)</p>
<p>And with 64 processors each with 64-cores, CPU bound scalability probably won&#8217;t be the case often too!</p>
<p>Use the tech that gets out of your way and feels right to you.  This is why Rails is doing so well.</p>
]]></content:encoded>
			<wfw:commentRss>http://almaer.com/blog/scaling-websites-re-large-sites-powered-by-java-web-frameworks-and-tiles-webwork/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Caching Pages vs. Caching Data</title>
		<link>http://almaer.com/blog/caching-pages-vs-caching-data</link>
		<comments>http://almaer.com/blog/caching-pages-vs-caching-data#comments</comments>
		<pubDate>Sat, 27 Aug 2005 07:48:20 +0000</pubDate>
		<dc:creator>dion</dc:creator>
				<category><![CDATA[Caching]]></category>
		<category><![CDATA[Tech]]></category>

		<guid isPermaLink="false">http://almaer.com/blog2/caching-pages-vs-caching-data</guid>
		<description><![CDATA[
]]></description>
			<content:encoded><![CDATA[<p>I was on a new Web 2.0 application last nite. The Ajax was flowing nicely through this app, and it was sure pretty.</p>
<p>But then I started to notice some weird behaviour. If I added something it showed up fine on one page, but didn&#8217;t show up on another. As I navigated around this world I kept seeing inconsistencies from area to area.</p>
<p>I see this from time to time, and normally it smells like aggressive page caching.</p>
<p>I have nothing against caching at the page level. It makes a LOT of sense for many things, as the closer you get to the user, the less work you are repeating.</p>
<p>However, you always pay a price in this balanced world of performance and scalability. In this case, there is a lot more to keep in sync, and a lot of people ignore that side of the equation.</p>
<p>This is why I really like to have a caching layer for my applications which are further towards the DB than the web page itself.  This cache does the hard work of keeping all of the info that I need in sync, but when it does change, the dynamic web pages automatically get that update.</p>
<p>This means that you get a nice balance of all worlds:</p>
<ul>
<li>Data is cached closer to the user, yet not too far from the DB</li>
<li>Access times to this data cache are almost in-memory, and very fast</li>
<li>You have consistent data showing up on all of your pages</li>
</ul>
<p>As always, this will depend on what you are doing, and it is a tricky balancing act&#8230;. but let&#8217;s try to not just turn on page caching and walk around, expecting everything to Just Work &#8482;.</p>
]]></content:encoded>
			<wfw:commentRss>http://almaer.com/blog/caching-pages-vs-caching-data/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
