<?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>NY INTERACTIVE AGENCY « iFUEL INTERACTIVE / AGENCY212 &#187; IIS</title>
	<atom:link href="http://blogs.ifuelinteractive.com/tag/iis/feed/" rel="self" type="application/rss+xml" />
	<link>http://blogs.ifuelinteractive.com</link>
	<description>A NY INTERACTIVE AGENCY</description>
	<lastBuildDate>Fri, 02 Jul 2010 15:38:25 +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>IIS LogParser</title>
		<link>http://blogs.ifuelinteractive.com/2009/09/22/iis-logparser/</link>
		<comments>http://blogs.ifuelinteractive.com/2009/09/22/iis-logparser/#comments</comments>
		<pubDate>Tue, 22 Sep 2009 16:57:56 +0000</pubDate>
		<dc:creator>Andy</dc:creator>
				<category><![CDATA[ASP.Net]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[Content Delivery Network]]></category>
		<category><![CDATA[IIS]]></category>

		<guid isPermaLink="false">http://blogs.ifuelinteractive.com/?p=44</guid>
		<description><![CDATA[I recently had to analyze how much static data the web server was sending out on a daily basis.  We wanted to try to get a sense of what it would cost to host all this static content on the new Amazon Cloudfront CDN (content delivery network).
I knew there had to be something out there, [...]]]></description>
			<content:encoded><![CDATA[<p>I recently had to analyze how much static data the web server was sending out on a daily basis.  We wanted to try to get a sense of what it would cost to host all this static content on the new <a title="Amazon Cloutfront" href="http://aws.amazon.com/cloudfront/" target="_blank">Amazon Cloudfront CDN</a> (content delivery network).</p>
<p>I knew there had to be something out there, but I didn&#8217;t know there was something right in the <a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=56FC92EE-A71A-4C73-B628-ADE629C89499&amp;displaylang=en" target="_blank">IIS 6 resource kit</a> called LogParser.</p>
<p>There are a bunch of options in log parser, but the one I thought was way cool was the ability to basically &#8220;query&#8221; the log.  For example:</p>
<p>LogParser &#8220;Select count(*), sum(sc-bytes) from d:\logs\w3svc1\ex090922.log where cs-uri-stem like &#8216;%.jpg&#8217; or cs-uri-stem like &#8216;%.gif&#8217; or cs-uri-stem like &#8216;%.swf&#8217; or cs-uri-stem like &#8216;%.css&#8217; or cs-uri-stem like &#8216;%.js&#8217; or cs-uri-stem like &#8216;%.pdf&#8217; or cs-uri-stem like &#8216;%.png&#8217; or cs-uri-stem like &#8216;%.cur&#8217;&#8221;<br />
returns:</p>
<p><span id="more-44"></span></p>
<p>COUNT(ALL *) SUM(ALL sc-bytes)<br />
&#8212;&#8212;&#8212;&#8212; &#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
23977        53910768</p>
<p>Statistics:<br />
&#8212;&#8212;&#8212;&#8211;<br />
Elements processed: 34195<br />
Elements output:    1<br />
Execution time:     0.22 seconds</p>
<p>This tells me that there were 23K requests for these file types, for a total of about 53Mb.  The log in question only represents 1 hour from one of two servers hosting the site (I think you can process from multiple logs simultaneously &#8211; have to spend more time playing around).  And it was really fast &#8211; &lt; 1 second!</p>
<p>So kudos to whoever created this tool!</p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.ifuelinteractive.com/2009/09/22/iis-logparser/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
