<?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"
	>
<channel>
	<title>Comments on: Website updates</title>
	<atom:link href="http://www.mibrahim.net/blog/2008/01/14/website-updates-2/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.mibrahim.net/blog/2008/01/14/website-updates-2/</link>
	<description>Real Estate - Web programming - Linux</description>
	<pubDate>Sun, 12 Oct 2008 09:27:07 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6</generator>
		<item>
		<title>By: mibrahim</title>
		<link>http://www.mibrahim.net/blog/2008/01/14/website-updates-2/#comment-4297</link>
		<dc:creator>mibrahim</dc:creator>
		<pubDate>Wed, 20 Feb 2008 16:41:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.mibrahim.net/blog/2008/01/14/website-updates-2/#comment-4297</guid>
		<description>My school of thought is different from what you're saying. To be precise, a way to design a big website is by running the scripts that generate the pages, and storing the HTML daily. And I guess that's what you imply by "writing unique html pages".

The problem with that approach is that you will never be able to personalize the results - or for example show a shopping cart to store selections, since your content is now static. Unless you have an ajax driven part.

From an engineering point of view, I would focus on providing functionality until I have a performance bottleneck - and at that point the correct approach is to cache some of the slow query results since the database usually consumes 90% of the script run time. Another approach is to speedup the database. Since the disk is what slows it down ( you can identify that by running atop ) the straight solution is to speed up disks - use RAID !

A third approach is to use faster storage engines, like BerkelyDB or derby instead of postgres or mysql. That would require more work on the code side, but will produce faster pages without changing the hardware.

If the CPU is a bottle neck then just cache some of the slow queries as I described earlier - however, you would really need a significant load with super fast RAIDs to reach that point.

So my school of thought is to continue using dynamic pages.

For updating listings, I compare the ModificationTimestamp in the Property search type. A similar time stamp exists with media.</description>
		<content:encoded><![CDATA[<p>My school of thought is different from what you&#8217;re saying. To be precise, a way to design a big website is by running the scripts that generate the pages, and storing the HTML daily. And I guess that&#8217;s what you imply by &#8220;writing unique html pages&#8221;.</p>
<p>The problem with that approach is that you will never be able to personalize the results - or for example show a shopping cart to store selections, since your content is now static. Unless you have an ajax driven part.</p>
<p>From an engineering point of view, I would focus on providing functionality until I have a performance bottleneck - and at that point the correct approach is to cache some of the slow query results since the database usually consumes 90% of the script run time. Another approach is to speedup the database. Since the disk is what slows it down ( you can identify that by running atop ) the straight solution is to speed up disks - use RAID !</p>
<p>A third approach is to use faster storage engines, like BerkelyDB or derby instead of postgres or mysql. That would require more work on the code side, but will produce faster pages without changing the hardware.</p>
<p>If the CPU is a bottle neck then just cache some of the slow queries as I described earlier - however, you would really need a significant load with super fast RAIDs to reach that point.</p>
<p>So my school of thought is to continue using dynamic pages.</p>
<p>For updating listings, I compare the ModificationTimestamp in the Property search type. A similar time stamp exists with media.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Edward</title>
		<link>http://www.mibrahim.net/blog/2008/01/14/website-updates-2/#comment-4294</link>
		<dc:creator>Edward</dc:creator>
		<pubDate>Tue, 19 Feb 2008 23:38:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.mibrahim.net/blog/2008/01/14/website-updates-2/#comment-4294</guid>
		<description>Nice solution!

So, do you write unique html pages every day, or do you only grab the homes that are updated? If so, which field do you use to scrub for homes that are updated?</description>
		<content:encoded><![CDATA[<p>Nice solution!</p>
<p>So, do you write unique html pages every day, or do you only grab the homes that are updated? If so, which field do you use to scrub for homes that are updated?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Postgresql is really beating my expectations &#187; Mohamed Ibrahim</title>
		<link>http://www.mibrahim.net/blog/2008/01/14/website-updates-2/#comment-4246</link>
		<dc:creator>Postgresql is really beating my expectations &#187; Mohamed Ibrahim</dc:creator>
		<pubDate>Wed, 16 Jan 2008 03:30:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.mibrahim.net/blog/2008/01/14/website-updates-2/#comment-4246</guid>
		<description>[...] downloaded, and I expect that to continue at least another day! I&#8217;m still working on the older bugs, and from time to time adding a new feature that I expect to rock the [...]</description>
		<content:encoded><![CDATA[<p>[...] downloaded, and I expect that to continue at least another day! I&#8217;m still working on the older bugs, and from time to time adding a new feature that I expect to rock the [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>
