10.1.3 Dynamic caching scenarios

 

+

Search Tips   |   Advanced Search

 

The key issue with caching dynamic content is to determine what should be cached, where caching should take place, and how to invalidate cached data.

In a multi-tier e-business environment, the WebSphere Dynamic Cache service can be activated at the business logic and/or presentation layer. It can also control external caches on servers, such as WebSphere Caching Proxy or IBM HTTP Server. When external caching is enabled, the cache matches pages with their URIs and exports matching pages to the external cache. The contents can then be served from the external cache instead of the appserver, which saves resources and improves performance.

To simulate real production systems, we explain the following scenarios:

Caching of Web services and Web services client caching is covered in Chapter 24, "Web services caching" of the redbook WebSphere V6 Web Services Handbook Development and Deployment, SG24-6461.

We do not focus directly on the caching techniques used by Content Delivery Networks, but we explain the IBM Web server plug-in, which has ESI surrogate capabilities.

When you design the caching solution for your application, you may want to combine different caching techniques. For example you may use a combination of dynamic caching and Web server plug-in caching, or a dynamic caching and WebSphere Caching Proxy combination. This chapter provides you with information that helps you to design your individual caching solution.

We are using the redbook's WAS infrastructure, which is described in detail in Chapter 8, Implementing the sample topology, for our scenarios. We use the WebSphere Performance Benchmark sample application Trade 6, because apart from other significant features, Trade 6 supports key WebSphere components such as dynamic caching.

As you can see in Figure 10-4 we can use caching services at different tiers of the application infrastructure. Our scenarios explain the appropriate caching techniques for the different tiers.

Figure 10-4 Redbook caching infrastructure

Next