Wednesday, May 16, 2012 9:37 AM
Ok, there's a good chance I get stale data from my local cache (the polling interval at which the local cache objects are possibly invalidated is set to 300 seconds by default). Therefore the MSDN documentation says to only put objects into the local cache which are changed infrequently. How can I tell AppFabric which objects should go to the local cache and which should only go into the cluster?
Disabling the local cache entirely doesn't seem to be a fair tradeoff.
Monday, May 21, 2012 12:03 PMThere looks to be no way to specify which item go to cluster alone when local cache is enabled. Local cache is enabled at a DataCacheFactory level.
- Proposed As Answer by RanganathG [MSFT]Microsoft Employee Monday, May 21, 2012 1:30 PM
Thursday, May 24, 2012 9:42 PMExactly, create two DataCacheFactories. Configure one with local cache enabled and the other one with local cache disabled. With AppFabric 1.1 you can have both configurations in one .CONFIG file.
David Pokluda (MSFT)
- Marked As Answer by Venenum Friday, May 25, 2012 6:44 AM