<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.iis.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:cs="http://blogs.iis.net/"><channel><title>Search results matching tag 'disk cache'</title><link>http://forums.iis.net/search/SearchResults.aspx?o=DateDescending&amp;tag=disk+cache&amp;orTags=0</link><description>Search results matching tag 'disk cache'</description><dc:language>en-US</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Re: how to use the ARR for Image Protect</title><link>http://forums.iis.net/p/1161618/1920190.aspx#1920190</link><pubDate>Fri, 09 Oct 2009 18:17:59 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1920190</guid><dc:creator>wonyoo</dc:creator><cs:applicationKey>iis_70_-_application_request_routing_arr-41</cs:applicationKey><description>&lt;p&gt;The anti-leeching can be done using URL rewrite (which is installed with ARR).&lt;/p&gt;
&lt;p&gt;tip #6&lt;/p&gt;
&lt;p&gt;&lt;span style="FONT-SIZE:11pt;FONT-FAMILY:&amp;#39;Calibri&amp;#39;,&amp;#39;sans-serif&amp;#39;;mso-fareast-font-family:Calibri;mso-fareast-theme-font:minor-latin;mso-bidi-font-family:&amp;#39;Times New Roman&amp;#39;;mso-ansi-language:EN-US;mso-fareast-language:EN-US;mso-bidi-language:AR-SA;"&gt;&lt;a href="http://ruslany.net/2009/04/10-url-rewriting-tips-and-tricks/"&gt;http://ruslany.net/2009/04/10-url-rewriting-tips-and-tricks/&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;</description></item><item><title>ARR v2 RC Disk Cache Drive Marked Unhealthy - EventID's 1006 &amp;amp; 1007 vs. 1008</title><link>http://forums.iis.net/p/1161628/1920142.aspx#1920142</link><pubDate>Fri, 09 Oct 2009 11:37:39 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1920142</guid><dc:creator>JAltrichter</dc:creator><cs:applicationKey>iis_70_-_application_request_routing_arr-41</cs:applicationKey><description>&lt;p&gt;Since installing the ARR v2 RC I am periodically receiving warning events that the ARR disk cache directory is unhealthy.&lt;/p&gt;
&lt;p&gt;&amp;quot;Drive with path &amp;#39;\\?\path&amp;#39; is being marked unhealthy. The data contains the error code.&amp;quot;&lt;/p&gt;
&lt;p&gt;Provider:&amp;nbsp; Application Request Routing &lt;br /&gt;EventID:&amp;nbsp;&amp;nbsp; 1006&amp;nbsp;&amp;nbsp; [ Qualifiers]&amp;nbsp; 32768 &lt;br /&gt;Event Data: 7B 00 07 80&lt;/p&gt;
&lt;p&gt;About 45 to 90 seconds later there is a corresponding information message (EventID 1007) that the drive is being marked healthy again.&lt;/p&gt;
&lt;p&gt;Prior to installing the ARR v2 RC (using the ARR v2 Beta 2 release) I did not see this message pattern.&amp;nbsp; Instead the server would record the following information message:&lt;/p&gt;
&lt;p&gt;EventID 1008 - &amp;quot;Scavenger successfully ran for content in disk location&amp;quot;&lt;/p&gt;
&lt;p&gt;Is this an anomaly with RC release?&lt;/p&gt;
&lt;p&gt;Jim&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: ARR2 caching and sizing</title><link>http://forums.iis.net/p/1160297/1918247.aspx#1918247</link><pubDate>Fri, 25 Sep 2009 03:28:25 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1918247</guid><dc:creator>wonyoo</dc:creator><cs:applicationKey>iis_70_-_application_request_routing_arr-41</cs:applicationKey><description>&lt;p&gt;It&amp;#39;s difficult to make a blanket recommendation on CPU/memory without knowing the traffic pattern of your usage.&amp;nbsp; As you may have guessed, the first bottleneck that you are going to hit is disk i/o.&amp;nbsp; Depending on the average size of the files that are being cached, you may or may&amp;nbsp;not be able to saturate the NIC.&lt;/p&gt;
&lt;p&gt;That said, we do have some deployment recommendations that are applicable to ARRv2 deployment in general.&amp;nbsp; It can be found at &lt;span&gt;&lt;a href="https://mail.microsoft.com/OWA/redir.aspx?C=ca2ce154add44030bebdcbea4c65c460&amp;amp;URL=http%3a%2f%2flearn.iis.net%2fpage.aspx%2f655%2fdeployment-recommendations-for-application-request-routing%2f" target="_blank"&gt;Deployment recommendations for Application Request Routing&lt;/a&gt;.&amp;nbsp; &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;As for your last question on DVR on live smooth streaming (LSS), it depends on what you mean by that.&amp;nbsp; In an upcoming release of LSS, there is a role that gets enabled when ARR is installed.&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Re: ARR v2 RC Memory Cache Duration Change</title><link>http://forums.iis.net/p/1161183/1918221.aspx#1918221</link><pubDate>Thu, 24 Sep 2009 23:54:14 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1918221</guid><dc:creator>wonyoo</dc:creator><cs:applicationKey>iis_70_-_application_request_routing_arr-41</cs:applicationKey><description>&lt;p&gt;Jim&lt;/p&gt;
&lt;p&gt;You are absolutely right.&amp;nbsp; We did change the default setting from 5 to 60 seconds.&lt;/p&gt;
&lt;p&gt;We made this change with the CDN customers in mind where 5 second caching was simply too short (ie. Publicly available Internet contents that are cache-able don&amp;#39;t really change every 5 seconds.&amp;nbsp; And by keeping it at 5, ARR will have to check for the &amp;quot;freshness&amp;quot; unnecessarily too frequently.)&lt;/p&gt;
&lt;p&gt;In our testing that simulates CDN, we determined that 60 was more appropriate default value that balances between performance and resource consumption.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>ARR Disk Cache Drive Health Status Unknown </title><link>http://forums.iis.net/p/1161182/1918186.aspx#1918186</link><pubDate>Thu, 24 Sep 2009 21:03:27 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1918186</guid><dc:creator>JAltrichter</dc:creator><cs:applicationKey>iis_70_-_application_request_routing_arr-41</cs:applicationKey><description>&lt;p&gt;I have just installed the ARR v2 RC and wanted to ask a questions that I did not bother with during the beta.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;In the Application Request Routing Cache form the health status of my primary drive appears as Unknown with an Alert of &amp;quot;Disk Utilization is not available because the worker process is not running.&amp;quot;&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;What service do I need to enable to properly query the health status of a disk cache drive?&lt;/p&gt;
&lt;p&gt;I was reading back through the examples on configuring ARR and noticed that even in your updated examples (&lt;a href="http://learn.iis.net/page.aspx/575/configure-and-enable-disk-cache-in-application-request-routing/"&gt;http://learn.iis.net/page.aspx/575/configure-and-enable-disk-cache-in-application-request-routing/&lt;/a&gt;) the drive health status is shown as Unknown.&lt;/p&gt;
&lt;p&gt;Thanks in advance,&lt;/p&gt;
&lt;p&gt;Jim&lt;/p&gt;</description></item><item><title>ARR v2 Caching and ASP.Net Works Great, Why?</title><link>http://forums.iis.net/p/1160482/1915181.aspx#1915181</link><pubDate>Sun, 30 Aug 2009 23:16:57 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1915181</guid><dc:creator>JAltrichter</dc:creator><cs:applicationKey>iis_70_-_application_request_routing_arr-41</cs:applicationKey><description>&lt;p&gt;I would like to understand how ARR disk caching works with ASP.Net applications and have not been able to find a good reference.&lt;/p&gt;
&lt;p&gt;I have a simple testing server farm configuration with a single ARR server and a few content servers.&amp;nbsp; Everything with my ASP.Net application is caching appropriately, static images and CSS sheets are cached and dynamic data is excluded.&amp;nbsp;&amp;nbsp; I do not understand how this is working.&lt;/p&gt;
&lt;p&gt;I have browsed through the web.config file for the application, but I am just not seeing it.&amp;nbsp; Can you give me a gentle nudge in the right direction.&lt;/p&gt;
&lt;p&gt;Thanks in advance.&lt;/p&gt;
&lt;p&gt;Jim&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: ARR v2 Beta 2 Disk Cache Statistics</title><link>http://forums.iis.net/p/1160298/1914612.aspx#1914612</link><pubDate>Tue, 25 Aug 2009 20:23:27 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1914612</guid><dc:creator>wonyoo</dc:creator><cs:applicationKey>iis_70_-_application_request_routing_arr-41</cs:applicationKey><description>&lt;p&gt;With memory (and in conjuction with disk), it works slightly differently.&amp;nbsp; Let me see if I can clarify.&lt;/p&gt;
&lt;p&gt;Let&amp;#39;s suppose that the memory cache interval is set to 5 seconds (default value.)&lt;/p&gt;
&lt;p&gt;The flow would be something like:&lt;/p&gt;
&lt;p&gt;1) Request is received by Windows server (http.sys, actually).&lt;/p&gt;
&lt;p&gt;2) Cache miss at the kernel&lt;/p&gt;
&lt;p&gt;3) Request forwarded to IIS/ARR&lt;/p&gt;
&lt;p&gt;4) Cache miss at the disk&lt;/p&gt;
&lt;p&gt;5) Request forwarded to origin and&amp;nbsp;content received by IIS/ARR&lt;/p&gt;
&lt;p&gt;6) Content cached to disk&lt;/p&gt;
&lt;p&gt;7) Content cached to memory (for 5 seconds)&lt;/p&gt;
&lt;p&gt;(Note that this is a two tiered caching system - and not counting the extreme corner cases, what&amp;#39;s cached in memory will almost always be a subset of what&amp;#39;s cached on disk.)&lt;/p&gt;
&lt;p&gt;At T + 2 seconds&lt;/p&gt;
&lt;p&gt;8) Same request received by Windows&lt;/p&gt;
&lt;p&gt;9) Cache hit at memory (by http.sys)&lt;/p&gt;
&lt;p&gt;10) response sent to the client&lt;/p&gt;
&lt;p&gt;At T + 6 seconds (greater than the configured 5 second value)&lt;/p&gt;
&lt;p&gt;11) SAme request received by Windows&lt;/p&gt;
&lt;p&gt;12) Cache miss at memory (for memory caching, it will unload the object when it doesn&amp;#39;t need it.&amp;nbsp; This is one of the core differences between memory caching and disk caching.&amp;nbsp; Memory is more scarce than disk - so after 5 (or configured) seconds, they are unloaded.&amp;nbsp; They may be unloaded more aggressively depending on memory consumption, etc but that&amp;#39;s all managed by kernel.)&lt;/p&gt;
&lt;p&gt;13) Request forwarded to IIS/ARR&lt;/p&gt;
&lt;p&gt;14) Disk cache hit (and it will also check for the freshness)&lt;/p&gt;
&lt;p&gt;15) Content cached once again in memory (for 5 seconds - or configured value).&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Hope that explains.&lt;/p&gt;</description></item><item><title>Re: ARR v2 Beta 2 Disk Cache Statistics</title><link>http://forums.iis.net/p/1160298/1914563.aspx#1914563</link><pubDate>Tue, 25 Aug 2009 15:23:48 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1914563</guid><dc:creator>JAltrichter</dc:creator><cs:applicationKey>iis_70_-_application_request_routing_arr-41</cs:applicationKey><description>&lt;p&gt;Won,&lt;/p&gt;
&lt;p&gt;Thanks that was great.&amp;nbsp; &lt;/p&gt;
&lt;p&gt;To carry over an idea from our other thread (&lt;a href="http://forums.iis.net/t/1160295.aspx"&gt;http://forums.iis.net/t/1160295.aspx&lt;/a&gt;) I assume that irrespective of whether the object is cached in memory or disk, the object invalidation process with be the same.&amp;nbsp; The cached object will always be served to the requesting user first then checked for accuracy as a secondary task. &lt;/p&gt;
&lt;p&gt;Jim&lt;/p&gt;</description></item><item><title>Re: ARR Disk Cache Invalidation Process</title><link>http://forums.iis.net/p/1160295/1914562.aspx#1914562</link><pubDate>Tue, 25 Aug 2009 15:13:22 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1914562</guid><dc:creator>JAltrichter</dc:creator><cs:applicationKey>iis_70_-_application_request_routing_arr-41</cs:applicationKey><description>&lt;p&gt;I assume the prescribed&amp;nbsp;solution for this condition, might be create a Global URL rewrite rule on the ARR server that redirects input for a blank&amp;nbsp;URL explicitly to the default page.&amp;nbsp; &lt;/p&gt;
&lt;p&gt;If that rule processes before the ARR Cache Control rule then I would think you&amp;nbsp;would get the same behaviour for the default page as all other HTML pages.&lt;/p&gt;
&lt;p&gt;Jim&lt;/p&gt;</description></item><item><title>Re: ARR v2 Beta 2 Disk Cache Statistics</title><link>http://forums.iis.net/p/1160298/1914561.aspx#1914561</link><pubDate>Tue, 25 Aug 2009 15:09:55 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1914561</guid><dc:creator>wonyoo</dc:creator><cs:applicationKey>iis_70_-_application_request_routing_arr-41</cs:applicationKey><description>&lt;p&gt;Jim&lt;/p&gt;
&lt;p&gt;The memory cache is done at the kernel level.&amp;nbsp; You could have a netmon between ARR and the content server to see if you actually see the cache hit.&lt;/p&gt;
&lt;p&gt;A simpler way would be to type the following on an elevated command prompt (which will show you what&amp;#39;s stored in kernel cache.)&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;netsh http show cache&lt;/strong&gt;&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;If the object is &amp;quot;cacheable&amp;quot;, then the Windows kernel will cache the content.&amp;nbsp; ARR leverages this feature and changes the duration when appropriate.&amp;nbsp; That said, if you have a content cached for 5 seconds and changed it to 50, the change won&amp;#39;t impact what&amp;#39;s already cached.&amp;nbsp; It has to be invalidated (ie. the 5 seconds must expire) before the change (50 seconds) takes effect with the next &amp;quot;cache-miss&amp;quot; request.&lt;/p&gt;
&lt;p&gt;Now, if you see your content in the responses from above command, you can trust us that it&amp;#39;s being served from memory :).&lt;/p&gt;
&lt;p&gt;Does that help?&lt;/p&gt;</description></item></channel></rss>