<?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>.. &#187; web server</title>
	<atom:link href="http://korel.com.au/tag/web-server/feed/" rel="self" type="application/rss+xml" />
	<link>http://korel.com.au</link>
	<description>techné</description>
	<lastBuildDate>Sun, 05 Sep 2010 13:40:12 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Websites During Bushfires and High Visitor Traffic</title>
		<link>http://korel.com.au/websites-during-bushfires-and-high-visitor-traffic/</link>
		<comments>http://korel.com.au/websites-during-bushfires-and-high-visitor-traffic/#comments</comments>
		<pubDate>Thu, 26 Feb 2009 22:04:05 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[bushfires]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[web server]]></category>

		<guid isPermaLink="false">http://korel.com.au/?p=393</guid>
		<description><![CDATA[Anyone watching in the past weeks would have noticed the CFA and DSE websites struggle under unusually high load from visitor traffic.
Taken from Tuesday 24th, 2008 Financial Review &#8211; &#8220;In order to keep this valuable resource online, techies at Google took the CFA&#8217;s data and overlaid it onto Google Maps to create a map of [...]]]></description>
			<content:encoded><![CDATA[<p>Anyone watching in the past weeks would have noticed the <a href="http://www.cfa.vic.gov.au">CFA</a> and <a href="http://www.dse.vic.gov.au">DSE</a> websites struggle under unusually high load from visitor traffic.</p>
<p>Taken from Tuesday 24th, 2008 Financial Review &#8211; <em>&#8220;In order to keep this valuable resource online, techies at Google took the CFA&#8217;s data and overlaid it onto Google Maps to create a map of the state dotted with coloured balloons showing the location and status of each blaze&#8221;</em></p>
<p><em>&#8220;The number of queries went from two per second to more than 200 per second within less than 24 hours&#8221;</em></p>
<p>If the database server is overloaded because the site is making live queries &#8211; that is, queries based on user page-requests, it could easily be resolved by outputting the query data to a static .html file, which is then served to clients by the web server. The query for generating the file could be run as often as every second, giving people &#8216;to the second&#8217; information which would still only equal 1 query per second on the DB server, an improvement on the the claimed 200 queries per second during the bush fires.</p>
<p>Something like the below code stops the client browser caching any pages, and gets the new version from the server with each request.</p>
<pre lang="php">header("Cache-Control: no-cache, must-revalidate");
header("Expires: -1");</pre>
<p>Now the web server is doing all the hard work, and that is limited to serving static text based content to clients&#8230; which is much easier to manage.</p>
<p>Something like this would improve performance assuming the database server and web server are network connected (ie, not both the same box).</p>
]]></content:encoded>
			<wfw:commentRss>http://korel.com.au/websites-during-bushfires-and-high-visitor-traffic/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

