Knowledge Base, they said. Bah! It's just a hole where we dump all ideas in and bury them!

Wednesday, August 03, 2005

Caching Application Block

The Enterprise Library Caching Application Block lets developers incorporate a local cache in their applications. There are 3 purposes of caching application Block:

1. Performance: Caching improves application performance by storing relevant data as close as possible to the data consumer.
2. Scalability: Storing information in a cache helps save resources and increases scalability as the demands on the application increase.
3. Availability: By storing data in a local cache, the application may be able to survive system failures such as network latency, Web service problems, and hardware failures.

Local cache can be store in memory or in database. In memory cache is lost if the client machine fail. Database cache is unavailable if the network fail.

Below is the all the 5 functions of caching application block:

1. Adding items to the cache
2. Loading the cache
3. Flushing the cache
4. Removing items from the cache
5. Retrieving items from the cache

0 Comments:

Post a Comment

<< Home