A proxy cache is a behavioral technique that provides the ability to cache a
result-set (output) from a service call via a proxy using the argument-set
(input) as the cache key. Through this proxy, all calls to any concrete
instances of a defined type, service, are made. In this proxy, input is used
as the key to obtain from or provide to a cache the output from a called
service. If output has already been cached for a given input, the proxy
returns the cached output without forwarding the call to the actual service.
This article presents a software design approach that will allow you to add a
transparent caching layer to your applications. This approach will work for
all types of applications (middle-tier, client-side, batch, etc.) under many
scenarios (Web services, database access, etc.).
Although this article does refer to caching, it's not about caching. Instead,... (more)