setty
Joined: 01 Apr 2009 Posts: 127 Location: GOLLAPROLU
|
Posted: Thu Feb 25, 2010 11:16 am Post subject: |
|
|
Hi Dheeraj,
Data Caching:
* Data Caching is the concept of storing variables into memory location,this provides application level state common to all the users,this is similar to application memory.
* Data caching is thread safe,the locking will be applied implicitly.
Application memory is not a thread safe,it requires explicit locking.
* Data caching will apply lock to the variable under processing.
Application memory will apply locking for all the variables.
*Data caching supports releasing variables memory based on priority when the application requires memory,this is called Scavenging.
Application memory doesn't support releasing variables memory when the application requires memory.
* Data caching supports expiry policy for variables.
Application memory doesn't support setting expiry policy (or) dependency for variables.
* Expiry policy for Cache variables:
It supports 3 types of expiry policies.
1)File Based expiry policy or File based dependency.
2) Time based expiry policy.
3)Sql server cache invalidation. _________________ Thanks & Regards
D.B.G.Setty
Software Engineer
NYROS TECHNOLOGIES |
|