<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.asp.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/"><channel><title>State Management</title><link>http://forums.asp.net/22.aspx</link><description>Managing ASP.NET state - ViewState, Application, Session, etc. &lt;a href="http://aspadvice.com/SignUp/list.aspx?l=69&amp;c=17" target="_blank"&gt;Email List&lt;/a&gt;</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Re: Caching in a web farm</title><link>http://forums.asp.net/thread/1715353.aspx</link><pubDate>Sat, 19 May 2007 00:49:21 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1715353</guid><dc:creator>jimmy q</dc:creator><author>jimmy q</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1715353.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=22&amp;PostID=1715353</wfw:commentRss><description>&lt;p&gt;&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="/Themes/fan/images/icon-quote.gif"&gt; &lt;strong&gt;freakshow:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;You might have a look at the Caching Application Block, using a database as a backing store.&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Hi freakshow,&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I have never used the Application Blocks but on the top of my head wouldnt using a database as the cache store defeat the purpose of caching as i will need to hit the db to get the cached items?&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Caching in a web farm</title><link>http://forums.asp.net/thread/1715324.aspx</link><pubDate>Fri, 18 May 2007 23:21:46 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1715324</guid><dc:creator>freakshow</dc:creator><author>freakshow</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1715324.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=22&amp;PostID=1715324</wfw:commentRss><description>You might have a look at the Caching Application Block, using a database as a backing store.</description></item><item><title>Re: Caching in a web farm</title><link>http://forums.asp.net/thread/1714624.aspx</link><pubDate>Fri, 18 May 2007 13:45:16 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1714624</guid><dc:creator>jimmy q</dc:creator><author>jimmy q</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1714624.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=22&amp;PostID=1714624</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Ah bugger.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I was hoping that cache data can be shared across in a web farm. It now looks like i have to weigh up whether caching is a good thing versus implementing my own synchronisation code with the extra complexity and overhead.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Caching in a web farm</title><link>http://forums.asp.net/thread/1714279.aspx</link><pubDate>Fri, 18 May 2007 09:17:49 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1714279</guid><dc:creator>Rex Lin - MSFT</dc:creator><author>Rex Lin - MSFT</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1714279.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=22&amp;PostID=1714279</wfw:commentRss><description>&lt;p&gt;&lt;font face="Verdana"&gt;Hi,&amp;nbsp;&amp;nbsp;&lt;strong&gt;jimmy:&lt;/strong&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;font face="Verdana"&gt;I suppose no:&lt;/font&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;font face="Verdana"&gt;The Cache object lives inside the current AppDomain (ie. ASP.NET Application Scope) and it stores its entries in a Hashtable.&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;More Details:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://west-wind.com/weblog/posts/1214.aspx"&gt;http://west-wind.com/weblog/posts/1214.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I hope the above information will be helpful. If you have any issues or concerns, please let me know. It&amp;#39;s my pleasure to be of assistance&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Caching in a web farm</title><link>http://forums.asp.net/thread/1714155.aspx</link><pubDate>Fri, 18 May 2007 07:40:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1714155</guid><dc:creator>jimmy q</dc:creator><author>jimmy q</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1714155.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=22&amp;PostID=1714155</wfw:commentRss><description>&lt;p&gt;Thanks for your reply Anton.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I am not sure whether you understood my question.&lt;/p&gt;&lt;p&gt;I have a web application that i need to deploy onto a web farm, therefore i need out of process session management and i have chosen to use the ASP.NET session server service to manage my sessions across multiple web servers.&lt;/p&gt;&lt;p&gt;In this web application, i also make sure of the Cache object to minimise requests to external resources etc. Would the ASP.NET session server service enable the Cache data collection to be synchronised across all the web servers? Or will the cache collection data be specific to each individual web server&amp;#39;s appdomain/asp.net worker process?&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Would the ASP.NET State server service also synchronise the Application collection variable?&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;So in short i understand the ASP state service is an out of process modal that can synchronise Session data across multiple webservers, the answer i need to know is&lt;/p&gt;&lt;p&gt;Does the ASP.NET state service or the SQL Server state server &lt;/p&gt;&lt;p&gt;1/. synchronise Application variables&lt;/p&gt;&lt;p&gt;2/. synchronise Cache variables&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;If i have misunderstood your reply anton, i apologise.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Thanks&lt;/p&gt;&lt;p&gt;Jimmy&lt;br /&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Caching in a web farm</title><link>http://forums.asp.net/thread/1714114.aspx</link><pubDate>Fri, 18 May 2007 07:18:38 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1714114</guid><dc:creator>antonpious</dc:creator><author>antonpious</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1714114.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=22&amp;PostID=1714114</wfw:commentRss><description>&lt;p&gt;Hi Jimmy,&lt;/p&gt;
&lt;p&gt;I am afraid you have to handle the caching strategy differently.&lt;/p&gt;
&lt;p&gt;While session is common to a user the cache is common to all users and behaves very much like an application variable and stored in memory for the appDomain.&lt;/p&gt;
&lt;p&gt;You have to handle Caching seperately. &lt;/p&gt;
&lt;p&gt;Have a look at MemCache which uses an external process where others can store and retrieve cached information.&lt;/p&gt;
&lt;p&gt;Happy Programming,&lt;br /&gt;Anton&lt;/p&gt;</description></item><item><title>Caching in a web farm</title><link>http://forums.asp.net/thread/1713838.aspx</link><pubDate>Fri, 18 May 2007 01:31:11 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1713838</guid><dc:creator>jimmy q</dc:creator><author>jimmy q</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1713838.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=22&amp;PostID=1713838</wfw:commentRss><description>&lt;p&gt;I understand that to maintain sessions across a web farm i need to either implement an ASP.NET state server service or a SQL Server State database.&lt;/p&gt;&lt;p&gt;However, does either of the 2 solutions for managing state across a web farm also synchronise cached objects?&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>