<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="/rss.xsl"?><rss version="2.0"><channel><title>SharedCache Forum Rss Feed</title><link>http://www.codeplex.com/SharedCache/Project/ListForums.aspx</link><description>SharedCache Forum Rss Description</description><item><title>New Post: data been replicated on replication server slowly</title><link>http://sharedcache.codeplex.com/discussions/397003</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;Hello All,&lt;/p&gt;
&lt;p&gt;I am trying to create a demo using SharedCache.&lt;/p&gt;
&lt;p&gt;1. I have configured two servers, one acts as main server and other acts as replicated server. Following are the config section.&lt;/p&gt;
&lt;p&gt;-&amp;gt; Config of main server:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;div style="color:black; background-color:white"&gt;
&lt;pre&gt;&lt;pre&gt;&lt;span style="color:blue"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#a31515"&gt;replicatedSharedCache&lt;/span&gt; &lt;span style="color:red"&gt;defaultProvider&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;ServerSharedCacheProvider&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;&amp;gt;&lt;/span&gt;
    &lt;span style="color:blue"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#a31515"&gt;serverSetting&lt;/span&gt; 
			&lt;span style="color:red"&gt;ServiceCacheIpAddress&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;xxx.xxx.xxx.66&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt; 
			&lt;span style="color:red"&gt;ServiceCacheIpPort&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;58888&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt; 
			&lt;span style="color:red"&gt;SharedCacheVersionNumber&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;3.0.5.1&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt; 
			&lt;span style="color:red"&gt;LoggingEnable&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;1&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt; 
			&lt;span style="color:red"&gt;ServiceFamilyMode&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;1&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt; 
			&lt;span style="color:red"&gt;CacheAmountOfObjects&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;-1&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt; 
			&lt;span style="color:red"&gt;CacheAmountFillFactorInPercentage&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;90&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt; 
			&lt;span style="color:red"&gt;ServiceCacheCleanup&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;LRU&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt; 
			&lt;span style="color:red"&gt;ServiceCacheCleanupThreadJob&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;3600000&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;
			&lt;span style="color:red"&gt;TcpServerMaxThreadToSet&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;-1&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt; 
			&lt;span style="color:red"&gt;TcpServerMinThreadToSet&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;-1&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;
			&lt;span style="color:red"&gt;SocketPoolMinAvailableSize&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;25&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;
			&lt;span style="color:red"&gt;SocketPoolValidationInterval&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;01:00:00&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;
			&lt;span style="color:red"&gt;SocketPoolTimeout&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;01:00:00&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;
			&lt;span style="color:blue"&gt;/&amp;gt;&lt;/span&gt;
		&lt;span style="color:green"&gt;&amp;lt;!--
			SocketPoolMinAvailableSize=&amp;quot;5&amp;quot;
			SocketPoolValidationInterval=&amp;quot;00:02:00&amp;quot;
			SocketPoolTimeout=&amp;quot;00:02:00&amp;quot;
		--&amp;gt;&lt;/span&gt;
    &lt;span style="color:blue"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#a31515"&gt;replicatedServers&lt;/span&gt;&lt;span style="color:blue"&gt;&amp;gt;&lt;/span&gt;
      &lt;span style="color:blue"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#a31515"&gt;add&lt;/span&gt; &lt;span style="color:red"&gt;key&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;SrvZh02&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt; &lt;span style="color:red"&gt;ipaddress&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;xxx&lt;/span&gt;&lt;span style="color:blue"&gt;.xxx.xxx.113&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt; &lt;span style="color:red"&gt;port&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;58888&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt; &lt;span style="color:blue"&gt;/&amp;gt;&lt;/span&gt;
      &lt;span style="color:green"&gt;&amp;lt;!-- DO NOT DEFINE THE INSTANCE ITSELF !!! IT WILL BE AUTOMATICALLY REMOVED AT RUNTIME --&amp;gt;&lt;/span&gt;
    &lt;span style="color:blue"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#a31515"&gt;replicatedServers&lt;/span&gt;&lt;span style="color:blue"&gt;&amp;gt;&lt;/span&gt;&lt;br&gt;&lt;/pre&gt;
&lt;br&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;p&gt;-&amp;gt; Config of replicated server:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;div style="color:black; background-color:white"&gt;
&lt;pre&gt;&lt;span style="color:blue"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#a31515"&gt;replicatedSharedCache&lt;/span&gt; &lt;span style="color:red"&gt;defaultProvider&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;ServerSharedCacheProvider&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;&amp;gt;&lt;/span&gt;
    &lt;span style="color:blue"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#a31515"&gt;serverSetting&lt;/span&gt; 
			&lt;span style="color:red"&gt;ServiceCacheIpAddress&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;xxx.xxx.xxx.113&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt; 
			&lt;span style="color:red"&gt;ServiceCacheIpPort&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;58888&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt; 
			&lt;span style="color:red"&gt;SharedCacheVersionNumber&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;3.0.5.1&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt; 
			&lt;span style="color:red"&gt;LoggingEnable&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;1&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt; 
			&lt;span style="color:red"&gt;ServiceFamilyMode&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;1&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt; 
			&lt;span style="color:red"&gt;CacheAmountOfObjects&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;-1&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt; 
			&lt;span style="color:red"&gt;CacheAmountFillFactorInPercentage&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;90&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt; 
			&lt;span style="color:red"&gt;ServiceCacheCleanup&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;LRU&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt; 
			&lt;span style="color:red"&gt;ServiceCacheCleanupThreadJob&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;3600000&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;
			&lt;span style="color:red"&gt;TcpServerMaxThreadToSet&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;-1&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt; 
			&lt;span style="color:red"&gt;TcpServerMinThreadToSet&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;-1&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;
			&lt;span style="color:red"&gt;SocketPoolMinAvailableSize&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;25&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;
			&lt;span style="color:red"&gt;SocketPoolValidationInterval&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;01:00:00&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;
			&lt;span style="color:red"&gt;SocketPoolTimeout&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;01:00:00&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;
			&lt;span style="color:blue"&gt;/&amp;gt;&lt;/span&gt;
		&lt;span style="color:green"&gt;&amp;lt;!--
			SocketPoolMinAvailableSize=&amp;quot;5&amp;quot;
			SocketPoolValidationInterval=&amp;quot;00:02:00&amp;quot;
			SocketPoolTimeout=&amp;quot;00:02:00&amp;quot;
		--&amp;gt;&lt;/span&gt;
    &lt;span style="color:blue"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#a31515"&gt;replicatedServers&lt;/span&gt;&lt;span style="color:blue"&gt;&amp;gt;&lt;/span&gt;
      &lt;span style="color:blue"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#a31515"&gt;add&lt;/span&gt; &lt;span style="color:red"&gt;key&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;SrvZh02&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt; &lt;span style="color:red"&gt;ipaddress&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;xxx.xxx.xxx.66&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt; &lt;span style="color:red"&gt;port&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;58888&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt; &lt;span style="color:blue"&gt;/&amp;gt;&lt;/span&gt;
      &lt;span style="color:green"&gt;&amp;lt;!-- DO NOT DEFINE THE INSTANCE ITSELF !!! IT WILL BE AUTOMATICALLY REMOVED AT RUNTIME --&amp;gt;&lt;/span&gt;
    &lt;span style="color:blue"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#a31515"&gt;replicatedServers&lt;/span&gt;&lt;span style="color:blue"&gt;&amp;gt;&lt;/span&gt;

&lt;/pre&gt;
&lt;/div&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;2. I have also setup one client (config as below):&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;div style="color:black; background-color:white"&gt;
&lt;pre&gt;&lt;span style="color:blue"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#a31515"&gt;indexusNetSharedCache&lt;/span&gt; &lt;span style="color:red"&gt;defaultProvider&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;IndexusSharedCacheProvider&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;&amp;gt;&lt;/span&gt;
    &lt;span style="color:blue"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#a31515"&gt;clientSetting&lt;/span&gt; &lt;span style="color:red"&gt;SharedCacheVersionNumber&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;3.0.5.1&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt; &lt;span style="color:red"&gt;LoggingEnable&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;1&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt; &lt;span style="color:red"&gt;CompressionEnabled&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;0&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt; &lt;span style="color:red"&gt;CompressionMinSize&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;1024000&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt; &lt;span style="color:red"&gt;HashingAlgorithm&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;Hashing&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt; &lt;span style="color:red"&gt;SocketPoolMinAvailableSize&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;25&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt; &lt;span style="color:red"&gt;SocketPoolValidationInterval&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;00:20:00&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt; &lt;span style="color:red"&gt;SocketPoolTimeout&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;00:20:00&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;/&amp;gt;&lt;/span&gt;
   
    &lt;span style="color:blue"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#a31515"&gt;servers&lt;/span&gt;&lt;span style="color:blue"&gt;&amp;gt;&lt;/span&gt;
      &lt;span style="color:blue"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#a31515"&gt;add&lt;/span&gt; &lt;span style="color:red"&gt;key&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;localhost&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt; &lt;span style="color:red"&gt;ipaddress&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;xxx.xxx.xxx.66&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt; &lt;span style="color:red"&gt;port&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;58888&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;/&amp;gt;&lt;/span&gt;
      
    &lt;span style="color:blue"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#a31515"&gt;servers&lt;/span&gt;&lt;span style="color:blue"&gt;&amp;gt;&lt;/span&gt;
    &lt;span style="color:blue"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#a31515"&gt;replicatedServers&lt;/span&gt;&lt;span style="color:blue"&gt;&amp;gt;&lt;/span&gt;
      &lt;span style="color:blue"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#a31515"&gt;add&lt;/span&gt; &lt;span style="color:red"&gt;key&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;srvzh02&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt; &lt;span style="color:red"&gt;ipaddress&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;xxx.xxx.xxx.113&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt; &lt;span style="color:red"&gt;port&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;58888&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt; &lt;span style="color:blue"&gt;/&amp;gt;&lt;/span&gt;
     
    &lt;span style="color:blue"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#a31515"&gt;replicatedServers&lt;/span&gt;&lt;span style="color:blue"&gt;&amp;gt;&lt;/span&gt;
    &lt;span style="color:blue"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#a31515"&gt;providers&lt;/span&gt;&lt;span style="color:blue"&gt;&amp;gt;&lt;/span&gt;
      &lt;span style="color:blue"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#a31515"&gt;add&lt;/span&gt; &lt;span style="color:red"&gt;name&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;IndexusSharedCacheProvider&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt; &lt;span style="color:red"&gt;type&lt;/span&gt;&lt;span style="color:blue"&gt;=&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;SharedCache.WinServiceCommon.Provider.Cache.IndexusSharedCacheProvider, SharedCache.WinServiceCommon&lt;/span&gt;&lt;span style="color:black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:blue"&gt;/&amp;gt;&lt;/span&gt;
    &lt;span style="color:blue"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#a31515"&gt;providers&lt;/span&gt;&lt;span style="color:blue"&gt;&amp;gt;&lt;/span&gt;
  &lt;span style="color:blue"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#a31515"&gt;indexusNetSharedCache&lt;/span&gt;&lt;span style="color:blue"&gt;&amp;gt;&lt;/span&gt;
&lt;/pre&gt;
&lt;/div&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;========================================&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Now in the client I am creating object of dummy class &amp;quot;Person&amp;quot; and running a loop from 1 to 100000, assigning values to object of class &amp;quot;Person&amp;quot; and adding that in the cache, so in short I am adding 100000 objects (data) in cache.&lt;/p&gt;
&lt;p&gt;Next I am trying to get the count of objects (data) added in cache using GetAllKeys() method (as below):&lt;/p&gt;
&lt;div style="color:black; background-color:white"&gt;
&lt;pre&gt;List&amp;lt;&lt;span style="color:blue"&gt;string&lt;/span&gt;&amp;gt; lstKeys = IndexusDistributionCache.SharedCache.GetAllKeys(&lt;span style="color:#a31515"&gt;&amp;quot;xxx.xxx.xxx.66&amp;quot;&lt;/span&gt;);
Literal1.Text = Convert.ToString(lstKeys.Count);
&lt;/pre&gt;
&lt;/div&gt;
&lt;p&gt;If we note, I am getting all keys from main server defined (IP - xxx.xxx.xxx.66) and I get the proper count i.e. 100000&lt;/p&gt;
&lt;p&gt;But if I try to get all keys from replicated server using IP - xxx.xxx.xxx.113 as GetAllKeys(&amp;quot;xxx.xxx.xxx.113&amp;quot;.&lt;/p&gt;
&lt;pre&gt;I do not get the count (100000) immediately, rather the count is increasing slowly&lt;br&gt;&lt;br&gt;So, data is not getting replicated immediately on replication server and all total 100000 records get replicated after almost 20 minutes.&lt;/pre&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;pre&gt;   
&lt;/pre&gt;
&lt;div style="color:black; background-color:white"&gt;
&lt;pre&gt;&lt;br&gt;
&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;</description><author>pkb</author><pubDate>Wed, 26 Sep 2012 15:16:40 GMT</pubDate><guid isPermaLink="false">New Post: data been replicated on replication server slowly 20120926031640P</guid></item><item><title>New Post: Sharedcache as a temporary storage framework</title><link>http://sharedcache.codeplex.com/discussions/396622</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;Hello. I was wondering if I can use a replicated Sharedcache instance (on two machines) to store some temporary data (the data should be available for 5-10 minutes for example).&amp;nbsp;&lt;/p&gt;
&lt;p&gt;- Does sharedcache guarantee that it will not remove the data for the amount of time I configure it? (ASP.NET cache for example doesn't do that, even if there is enough memory)?&lt;/p&gt;
&lt;p&gt;- In replicated mode, does sharedcache guarantee that the data will replicate before the call returns?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thank you&lt;/p&gt;
&lt;/div&gt;</description><author>mciureanu</author><pubDate>Mon, 24 Sep 2012 08:37:52 GMT</pubDate><guid isPermaLink="false">New Post: Sharedcache as a temporary storage framework 20120924083752A</guid></item><item><title>New Post: Shared Cache compatible with cloud</title><link>http://sharedcache.codeplex.com/discussions/352041</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Can anyone help me&amp;nbsp;to understand,&amp;nbsp;if shared cache is cloud compatible.I am not able to find any such help in discussions.&lt;/p&gt;
&lt;p&gt;Please help, this will help us to decide the approach&amp;nbsp;further.&lt;/p&gt;
&lt;p&gt;Thanks in advance!!&lt;/p&gt;&lt;/div&gt;</description><author>Ask_76</author><pubDate>Mon, 16 Apr 2012 05:40:06 GMT</pubDate><guid isPermaLink="false">New Post: Shared Cache compatible with cloud 20120416054006A</guid></item><item><title>New Post: Thinking to use 3.0.5.2</title><link>http://sharedcache.codeplex.com/discussions/247077</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Hi Ryan,&lt;/p&gt;
&lt;p&gt;I'd also like to use session state provider in my application.can you please help me to get the version 3.0.5.2?&lt;/p&gt;
&lt;p&gt;Thanks in advance!&lt;/p&gt;&lt;/div&gt;</description><author>Ask_76</author><pubDate>Fri, 13 Apr 2012 05:07:54 GMT</pubDate><guid isPermaLink="false">New Post: Thinking to use 3.0.5.2 20120413050754A</guid></item><item><title>New Post: Shared Cache compatible with cloud</title><link>http://sharedcache.codeplex.com/discussions/352041</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I am very new to shared cache.I found its a very good toll to implement advance caching.I just need the information that is this compatible with cloud.&lt;/p&gt;
&lt;p&gt;We are planning to move our application in cloud environment in future.Please help to understand the same and plan further.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;/div&gt;</description><author>Ask_76</author><pubDate>Thu, 12 Apr 2012 13:47:05 GMT</pubDate><guid isPermaLink="false">New Post: Shared Cache compatible with cloud 20120412014705P</guid></item><item><title>New Post: Change notification</title><link>http://sharedcache.codeplex.com/discussions/347451</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;thats&amp;nbsp;def. a&amp;nbsp;different topic and is not supported .. the system was not designed to support client notifications.&lt;/p&gt;&lt;/div&gt;</description><author>ronischuetz</author><pubDate>Wed, 07 Mar 2012 17:24:57 GMT</pubDate><guid isPermaLink="false">New Post: Change notification 20120307052457P</guid></item><item><title>New Post: Change notification</title><link>http://sharedcache.codeplex.com/discussions/347451</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;It can be done in this way. But I have to notificate all other nodes that data was changed.&lt;/p&gt;
&lt;p&gt;Thanks for your answer.&lt;/p&gt;&lt;/div&gt;</description><author>ksv510</author><pubDate>Wed, 07 Mar 2012 16:40:41 GMT</pubDate><guid isPermaLink="false">New Post: Change notification 20120307044041P</guid></item><item><title>New Post: Change notification</title><link>http://sharedcache.codeplex.com/discussions/347451</link><description>&lt;div style="line-height: normal;"&gt;
&lt;div&gt;this is an example how to use sharedcache: &lt;a href="http://sharedcache.codeplex.com/SourceControl/changeset/view/80959#482695"&gt;
http://sharedcache.codeplex.com/SourceControl/changeset/view/80959#482695&lt;/a&gt; &lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="color:gray"&gt;///&lt;/span&gt; &lt;span style="color:gray"&gt;&amp;lt;summary&amp;gt;&lt;/span&gt;&lt;br&gt;
&lt;span style="color:gray"&gt;///&lt;/span&gt;&lt;span style="color:green"&gt; The simple method how to add data to the cache.&lt;/span&gt;&lt;br&gt;
&lt;span style="color:gray"&gt;///&lt;/span&gt; &lt;span style="color:gray"&gt;&amp;lt;/summary&amp;gt;&lt;/span&gt;&lt;br&gt;
&lt;span style="color:gray"&gt;///&lt;/span&gt; &lt;span style="color:gray"&gt;&amp;lt;param name=&amp;quot;key&amp;quot;&amp;gt;&lt;/span&gt;&lt;span style="color:green"&gt;The key.&amp;lt;/param&amp;gt;&lt;/span&gt;&lt;br&gt;
&lt;span style="color:gray"&gt;///&lt;/span&gt; &lt;span style="color:gray"&gt;&amp;lt;param name=&amp;quot;value&amp;quot;&amp;gt;&lt;/span&gt;&lt;span style="color:green"&gt;The value.&amp;lt;/param&amp;gt;&lt;/span&gt;&lt;br&gt;
&lt;span style="color:blue"&gt;public&lt;/span&gt; &lt;span style="color:blue"&gt;static&lt;/span&gt; &lt;span style="color:blue"&gt;
void&lt;/span&gt; CacheAdd(&lt;span style="color:blue"&gt;string&lt;/span&gt; key, &lt;span style="color:blue"&gt;
object&lt;/span&gt; value)&lt;br&gt;
{&lt;/div&gt;
&lt;div&gt;&lt;font style="background-color:rgb(255,255,0)"&gt;// e.g. here you can add a pre-add event over an delegate or so&lt;br&gt;
&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;IndexusDistributionCache.SharedCache.Add(key, value);&lt;/div&gt;
&lt;div&gt;&lt;br&gt;
&lt;font color="#ff0000"&gt;&lt;/font&gt;&lt;font color="#000000" style="background-color:rgb(255,255,0)"&gt;// e.g. here you can add a post-add event over an delegate or so&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;}&lt;br&gt;
&lt;br&gt;
that is what i meant by using a wrapper .. hope that clarifies it. &lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;regards, &lt;/div&gt;
&lt;div&gt;Roni&lt;/div&gt;
&lt;div&gt;&lt;br&gt;
&lt;/div&gt;
&lt;div&gt;On Wed, Mar 7, 2012 at 2:04 PM, ksv510 &lt;span dir="ltr"&gt;&amp;lt;&lt;a href="mailto:notifications@codeplex.com"&gt;notifications@codeplex.com&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;
&lt;blockquote style="margin:0px 0px 0px 0.8ex; padding-left:1ex; border-left-color:rgb(204,204,204); border-left-width:1px; border-left-style:solid"&gt;
&lt;div&gt;
&lt;p&gt;From: ksv510&lt;/p&gt;
&lt;div&gt;
&lt;p&gt;Can you show me some example or tell me about some starting ponit?&lt;/p&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;p&gt;Read the &lt;a href="http://sharedcache.codeplex.com/discussions/347451#post806820" target="_blank"&gt;
full discussion online&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;To add a post to this discussion, reply to this email (&lt;a href="mailto:SharedCache@discussions.codeplex.com?subject=[SharedCache:347451]" target="_blank"&gt;SharedCache@discussions.codeplex.com&lt;/a&gt;)&lt;/p&gt;
&lt;p&gt;To start a new discussion for this project, email &lt;a href="mailto:SharedCache@discussions.codeplex.com" target="_blank"&gt;
SharedCache@discussions.codeplex.com&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;You are receiving this email because you subscribed to this discussion on CodePlex. You can
&lt;a href="https://sharedcache.codeplex.com/subscriptions/thread/project/edit" target="_blank"&gt;
unsubscribe or change your settings&lt;/a&gt; on codePlex.com.&lt;/p&gt;
&lt;p&gt;Please note: Images and attachments will be removed from emails. Any posts to this discussion will also be available online at
&lt;a href="http://codeplex.com" target="_blank"&gt;codeplex.com&lt;/a&gt;&lt;/p&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/blockquote&gt;
&lt;/div&gt;
&lt;br&gt;
&lt;br clear="all"&gt;
&lt;br&gt;
-- &lt;br&gt;
Kind regards,&lt;br&gt;
Roni Schuetz&lt;br&gt;
&lt;br&gt;
speed up your .net app's - &lt;a href="http://www.sharedcache.com/"&gt;http://www.sharedcache.com/&lt;/a&gt;&lt;br&gt;
&lt;/div&gt;</description><author>ronischuetz</author><pubDate>Wed, 07 Mar 2012 15:17:55 GMT</pubDate><guid isPermaLink="false">New Post: Change notification 20120307031755P</guid></item><item><title>New Post: IP Address Vs Host Name</title><link>http://sharedcache.codeplex.com/discussions/276585</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;No, unless you add support for it&lt;/p&gt;&lt;/div&gt;</description><author>fryedfish</author><pubDate>Wed, 07 Mar 2012 13:43:01 GMT</pubDate><guid isPermaLink="false">New Post: IP Address Vs Host Name 20120307014301P</guid></item><item><title>New Post: High sustained CPU utilization</title><link>http://sharedcache.codeplex.com/discussions/76885</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;By more nodes i mean more server instances. &amp;nbsp;If you overload any one server it effectively crashes and you get high processor usage behaviour. &amp;nbsp;Also be careful to not over fill each server instances. &amp;nbsp;As soon as the Garbage collector gets agressive ( low memory conditions) the processor spends most of its time in GC.&lt;/p&gt;&lt;/div&gt;</description><author>fryedfish</author><pubDate>Wed, 07 Mar 2012 13:41:17 GMT</pubDate><guid isPermaLink="false">New Post: High sustained CPU utilization 20120307014117P</guid></item><item><title>New Post: Dynamic scaling of distributed cache</title><link>http://sharedcache.codeplex.com/discussions/284703</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;One major issue with this is that the shared cache implementation of ketama is not correct. &amp;nbsp;Adding one extra node has a very big impact of the position of each object in the cluster. &amp;nbsp;Effect is that as soon as you add a new node it pretty much invalidates the entire cache, causing lots of cache misses.&lt;/p&gt;&lt;/div&gt;</description><author>fryedfish</author><pubDate>Wed, 07 Mar 2012 13:35:04 GMT</pubDate><guid isPermaLink="false">New Post: Dynamic scaling of distributed cache 20120307013504P</guid></item><item><title>New Post: Change notification</title><link>http://sharedcache.codeplex.com/discussions/347451</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Can you show me some example or tell me about some starting ponit?&lt;/p&gt;&lt;/div&gt;</description><author>ksv510</author><pubDate>Wed, 07 Mar 2012 13:04:23 GMT</pubDate><guid isPermaLink="false">New Post: Change notification 20120307010423P</guid></item><item><title>New Post: Change notification</title><link>http://sharedcache.codeplex.com/discussions/347451</link><description>&lt;div style="line-height: normal;"&gt;
&lt;div&gt;The easiest way is to write your own wrapper around the client lib and add your specific notify code&lt;br&gt;
&lt;br&gt;
&lt;div&gt;&lt;br&gt;
&lt;/div&gt;
&lt;div&gt;Kind regards,&lt;/div&gt;
&lt;div&gt;Roni Schuetz &lt;/div&gt;
&lt;div&gt;&lt;br&gt;
&lt;/div&gt;
Sent from mobile&lt;/div&gt;
&lt;div&gt;&lt;br&gt;
On 06.03.2012, at 10:41, &amp;quot;ksv510&amp;quot; &amp;lt;&lt;a href="mailto:notifications@codeplex.com"&gt;notifications@codeplex.com&lt;/a&gt;&amp;gt; wrote:&lt;br&gt;
&lt;br&gt;
&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;blockquote type="cite"&gt;
&lt;div&gt;
&lt;p&gt;From: ksv510&lt;/p&gt;
&lt;div id="ThreadNotificationPostBody"&gt;
&lt;p&gt;Hi all,&lt;/p&gt;
&lt;p&gt;How can I get a notification about state changes? For example, i am adding some data, after that i want to get a notification, that the data was added.&lt;/p&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/blockquote&gt;
&lt;/div&gt;</description><author>ronischuetz</author><pubDate>Tue, 06 Mar 2012 19:49:25 GMT</pubDate><guid isPermaLink="false">New Post: Change notification 20120306074925P</guid></item><item><title>New Post: Change notification</title><link>http://sharedcache.codeplex.com/discussions/347451</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;Hi all,&lt;/p&gt;
&lt;p&gt;How can I get a notification about state changes? For example, i am adding some data, after that i want to get a notification, that the data was added.&lt;/p&gt;
&lt;/div&gt;</description><author>ksv510</author><pubDate>Tue, 06 Mar 2012 09:40:57 GMT</pubDate><guid isPermaLink="false">New Post: Change notification 20120306094057A</guid></item><item><title>New Post: memory maxium usage?</title><link>http://sharedcache.codeplex.com/discussions/343432</link><description>&lt;div style="line-height: normal;"&gt;
&lt;div&gt;&lt;a href="http://www.sharedcache.com/cms/shared_cache_configuration_server.aspx"&gt;http://www.sharedcache.com/cms/shared_cache_configuration_server.aspx&lt;/a&gt;
&lt;br&gt;
&lt;br&gt;
&lt;div&gt;&lt;br&gt;
&lt;/div&gt;
&lt;div&gt;Kind regards,&lt;/div&gt;
&lt;div&gt;Roni Schuetz &lt;/div&gt;
&lt;div&gt;&lt;br&gt;
&lt;/div&gt;
Sent from mobile&lt;/div&gt;
&lt;div&gt;&lt;br&gt;
On 23.02.2012, at 17:09, &amp;quot;accacc&amp;quot; &amp;lt;&lt;a href="mailto:notifications@codeplex.com"&gt;notifications@codeplex.com&lt;/a&gt;&amp;gt; wrote:&lt;br&gt;
&lt;br&gt;
&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;blockquote type="cite"&gt;
&lt;div&gt;
&lt;p&gt;From: accacc&lt;/p&gt;
&lt;div id="ThreadNotificationPostBody"&gt;
&lt;p&gt;is there any config for memory maxium usage for caching?&lt;/p&gt;
&lt;p&gt;example&lt;/p&gt;
&lt;p&gt;i set 300mb for caching on my server,if cache reach maxiumsize delete all low priority datas?&lt;/p&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/blockquote&gt;
&lt;/div&gt;</description><author>ronischuetz</author><pubDate>Thu, 23 Feb 2012 21:35:32 GMT</pubDate><guid isPermaLink="false">New Post: memory maxium usage? 20120223093532P</guid></item><item><title>New Post: memory maxium usage?</title><link>http://sharedcache.codeplex.com/discussions/343432</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;is there any config for memory maxium usage for caching?&lt;/p&gt;
&lt;p&gt;example&lt;/p&gt;
&lt;p&gt;i set 300mb for caching on my server,if cache reach maxiumsize delete all low priority datas?&lt;/p&gt;
&lt;/div&gt;</description><author>accacc</author><pubDate>Thu, 23 Feb 2012 16:09:15 GMT</pubDate><guid isPermaLink="false">New Post: memory maxium usage? 20120223040915P</guid></item><item><title>New Post: Thinking to use 3.0.5.2</title><link>http://sharedcache.codeplex.com/discussions/247077</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Hi Ryan,&lt;/p&gt;
&lt;p&gt;can you please how to get version 3.0.5.2 with session state provider config. &amp;nbsp;I'd like to use this for my production servers soon. &amp;nbsp;Thanks&lt;/p&gt;&lt;/div&gt;</description><author>calvin464</author><pubDate>Wed, 08 Feb 2012 00:03:52 GMT</pubDate><guid isPermaLink="false">New Post: Thinking to use 3.0.5.2 20120208120352A</guid></item><item><title>New Post: Dynamic scaling of distributed cache</title><link>http://sharedcache.codeplex.com/discussions/284703</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;I haven't found any guidance or discussion on the best practice for dynamically scaling a distributed cache configuration without restarting all clients.&lt;/p&gt;
&lt;p&gt;I'd like to deploy IIS web server instances on EC2, each with an install of SharedCache server. In a typical cloud app, I plan on spinning up new web server instances behind a load balancer when the load requires it, and shut down instances when the load
 decreases.&lt;/p&gt;
&lt;p&gt;In such operation, I obviously won't know all of the server IPs ahead of time and specify them in the client config file. Can I simply add a new IndexusServerSetting object to the client's IndexusDistributionCache.SharedCache.ServersList collection after
 caching operations have begun, and the client will immediately and automatically partition key hashes onto the new node? All clients should do this at the same time, ideally, so I plan on using a messaging service like RabbitMQ to notify each web server instance
 when a node appears or disappears.&lt;/p&gt;
&lt;p&gt;I'd obviously like a solution where I don't have to reconfigure all IIS web.config files and restart them just because I added a new SharedCache node.&lt;/p&gt;
&lt;/div&gt;</description><author>erhhung</author><pubDate>Mon, 02 Jan 2012 05:35:47 GMT</pubDate><guid isPermaLink="false">New Post: Dynamic scaling of distributed cache 20120102053547A</guid></item><item><title>New Post: Which Release works with .net Framework v2.0?</title><link>http://sharedcache.codeplex.com/discussions/276443</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;In the sharedcache，the class "Serialization" is supported by&amp;nbsp;framework3.5, so now sharedcache must run&amp;nbsp;at dotnet&amp;nbsp;framework 3.5 .&lt;/p&gt;
&lt;p&gt;But, we are&amp;nbsp;optimizing the serialize method&amp;nbsp;, i think&amp;nbsp;new&amp;nbsp;mode may be&amp;nbsp;run at v2.0.&lt;/p&gt;&lt;/div&gt;</description><author>vincent_zhang</author><pubDate>Sat, 24 Dec 2011 04:37:20 GMT</pubDate><guid isPermaLink="false">New Post: Which Release works with .net Framework v2.0? 20111224043720A</guid></item><item><title>New Post: Buffer cannot be null.  Parameter name: buffer</title><link>http://sharedcache.codeplex.com/discussions/240770</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;This is a bug.&lt;/p&gt;
&lt;p&gt;There is a method:&amp;nbsp;Formatters.Serialization.BinaryDeSerialize&amp;lt;T&amp;gt;(byte[] serializedObject), it changes byte[] to T.&lt;/p&gt;
&lt;p&gt;When we get nothing from the cache, the method &amp;nbsp;will get null and can not change it to T, so we get the error.&lt;/p&gt;
&lt;p&gt;We can modify the method by add follow codes at the starting line:&lt;/p&gt;
&lt;p&gt;&lt;span style="white-space: pre;"&gt; &lt;/span&gt;if (serializedObject == null) return default(T);&lt;/p&gt;
&lt;p&gt;Or we can ensure the msg.Payload is not null before&amp;nbsp;BinaryDeSerialize. For example:&lt;/p&gt;
&lt;p&gt;&lt;span style="white-space: pre;"&gt; &lt;/span&gt;In &amp;nbsp;IndexusSharedCacheProvider.cs there is a method: Get&amp;lt;T&amp;gt;(string key),&lt;/p&gt;
&lt;p&gt;&lt;span style="white-space: pre;"&gt; &lt;/span&gt;we can change if(CacheUtil.Get(msg)) to if(CacheUtil.Get(msg) &amp;amp;&amp;amp; msg.Payload != null).&lt;/p&gt;
&lt;p&gt;You can have a try.&lt;/p&gt;&lt;/div&gt;</description><author>msmsq</author><pubDate>Tue, 20 Dec 2011 09:04:28 GMT</pubDate><guid isPermaLink="false">New Post: Buffer cannot be null.  Parameter name: buffer 20111220090428A</guid></item></channel></rss>