Improve marketing performance using caching
To improve marketing performance, use runtime caching to eliminate processing to and from the database.
Before you begin
There are four aspects to gaining improvements in management center marketing: command caching, business object caching, JSP caching, and data recording.
Command caching stores the results of web service calls that load the business object to display to the customer. Business object caching involves a distributed map cache managing memory allocation. The cache size is adjustable. JSP caching is based on dynacache using an attribute to load a cached JSP for the e-Marketing Spot display. Data recording focuses on ways to reduce the resources needed to process user behavior data.
- Set up command caching for marketing
Cacheable commands eliminate much of the overhead associated with redundant database queries by storing results from earlier queries in cache. The marketing services can now retrieve the data to display in e-Marketing Spots on store pages from the command cache instead of the database improving response time and reducing system load.
- Command caching for marketing
The most expensive part of evaluating a marketing rule is the query to return the Service Data Object (SDO) business object (for categories, catalog entries, and marketing content) that displays in an e-Marketing Spot. Command caching stores the results of earlier queries in cache to take advantage of lower retrieval times compared to retrieving results from main storage.
- Commands and methods for generating a cache key
A guide to each method used to generate the cache key. Fewer methods in the cache key will result in fewer system resources required to cache the commands.
- Marketing business object cache overview
Business object caching eliminates querying of marketing database tables when evaluating the marketing rules for a customer. By managing the memory allocated to the cache you can fine-tune marketing performance.
- Tune the marketing business object cache
You can improve performance by altering the size of the cache used to store both marketing business objects during storefront runtime and the information related to the customers participating in the marketing activities.
- Enable JSP caching
Caching e-Marketing Spot JSP snippets may lead to a performance improvement.
- Data recording; improving runtime performance
Two options are provided which can improve runtime performance with regard to the recording of user behavior data.
Related concepts
Related tasks
Clear the marketing Web service cache