This chapter is about object caching. Caching can take many different forms and implementations. A database server is one example. As developers are coding their database access components, one of their major decisions is what kinds of SQL queries, stored procedures, and parameters the application uses to interact with the database server. Although it may appear that developers have no special object-caching code in their application, there are many objects or resources that are being cached behind the scenes. For instance, ADO.NET, by default, uses database connection pooling, or stores the database connection object for reuse. Database vendors also implement their own caching mechanisms to ensure that the least amount of computation is needed for certain requests. Database servers can store commonly accessed data in memory to avoid repetitive disk operations. The benefits of object caching are obvious. It is extremely useful to learn about some of the caching techniques to help you build more robust and scalable applications. I will talk about how we can develop a caching service that enables application developers to take advantage of object caching in their applications without writing a lot of code.


Hash Table Base Class Garbage Collection Cache Strategy Child Class 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.


Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Copyright information

© Xin Chen 2004

Authors and Affiliations

  • Xin Chen
    • 1
  1. 1.Xtremework, Inc.USA

Personalised recommendations