Skip to main content

Posts

Showing posts with the label Windows Appfabric caching

Sliding and Absolute expiration in Caching

Caching Mechanism and Its Expirations ASP.net cache or AppFabric Caching are ways to  increase the performance of the web application by r educing server round trips to database. However the validity of the cached data needs to be ensured, to enforce this, we have the following options 1. Dependency Mechanisms:      Files, SQL Cache Dependency etc This ensures that the cache is re-validated or refreshed once a dependent has changed or been altered 2.  Expire Cache:      The cache will expire after a time frame and the newer items will be added to cache when ever accessed or processed after expiry.  In Cache Expiry, we have the following options 1. Absolute Expiration:   Absolute expiration means It will expire cache after some time period set at the time of activating cache. This will be absolute expiration whether cache will be used or not It will expire the cache. This type of expiration used to  cache data which are not frequently changing. 2. Sliding Expiration: 

Windows AppFabric FAQ's

Exception Solution An existing connection was forcibly closed by the remote host if you're IIS applicatin is running under and Application Pool that uses the identity of DOMAINNAME\domainuser, you would add this to the allowed client account list with the following command: Grant-CacheAllowedClientAccount DOMAINNAME\domainuser. [OR] use this Grant-CacheAllowedClientAccount everyone [OR] Set-CacheClusterSecurity -ProtectionLevel None -SecurityMode None Cache Configuration with Windows PowerShell Reference Cache Administration with Windows PowerShell Reference -- Saravanan

Windows AppFabric Caching

Windows AppFabric Caching Here is a collection of links that are useful for kickstarting the use of Windows AppFabric Caching, formerly known as Velocity Caching from Microsoft. Tutorials Concepts and Architecture Physical Architecture Diagram Logical Architecture Diagram AppFabric Caching Concepts Caching Admin in Windows PowerShell -- Saravanan