Performance Tuning Guide > Tuning Siebel eConfigurator for Performance >

Configuring Snapshot Mode Caching for eConfigurator


When Snapshot Mode memory caching has been configured for server-based Siebel eConfigurator deployments, when a user starts a configuration session, customizable products and related services may be loaded from the Snapshot Mode cache. Using Snapshot Mode can greatly improve performance for initializing configuration sessions.

If you do not use Snapshot Mode caching, then configuration sessions are subject to the behavior described in Default Caching Behavior for eConfigurator.

Snapshot Mode caches the following data:

For more information about Siebel eConfigurator architecture elements such as factories and workers, refer to Product Administration Guide.

If an item is not in the Snapshot Mode cache, the item is retrieved from CFGCache, if it is verified to be the current version, and then added to the Snapshot Mode cache for subsequent use.

Using Snapshot Mode is highly recommended, particularly if you have large numbers of users.

Note the following behavior for configuration sessions for which Snapshot Mode is in effect:

Guidelines for Using Snapshot Mode

Observe the following guidelines for using Snapshot Mode:

Parameters for Configuring Snapshot Mode Caching

To use Snapshot Mode caching, you specify values for several server parameters. At a minimum, you turn it on by setting eProdCfgSnapshotFlg to TRUE. Other parameters must be sized following guidelines such as those described in Determining Rough Sizing for Caching Parameters.

Table 6 lists the server parameters for configuring Snapshot Mode caching. Using Siebel Server Manager, set these parameters on each AOM component, or on the eProdCfgObjMgr component, according to your deployment.

Table 6.  Server Parameters for Configuring Snapshot Mode
Parameter Name
Display Name
Data Type
Default Value
Description
eProdCfgSnapshotFlg
Product Configurator-Collect and use snapshots of the Cfg objects
Boolean
FALSE
Enables or disables Snapshot Mode. Set to TRUE to turn on Snapshot Mode.
  • For an AOM deployment of eConfigurator, set this parameter on the AOM component.
  • For a dedicated eConfigurator server deployment, set this parameter on the AOM and on the eProdCfgObjMgr component.
eProdCfgNumOfCachedObjects
Product Configurator-Number of objects cached in memory
Integer
1000
Sets the maximum number of objects that can be cached in memory by the Object Broker.
  • For an AOM deployment of eConfigurator, set this parameter on the AOM component.
  • For a dedicated eConfigurator server deployment, set this parameter on the AOM and on the eProdCfgObjMgr component.
eProdCfgNumbofCachedWorkers
Product Configurator-Number of workers cached in memory
Integer
50
Sets the maximum number of workers that can be cached in memory.
  • For an AOM deployment of eConfigurator, set this parameter on the AOM component.
  • For a dedicated eConfigurator server deployment, set this on the eProdCfgObjMgr component instead.
eProdCfgNumbOfCachedCatalogs
Product Configurator-Number of cached catalogs
Integer
10
Sets the maximum number of catalogs that can be cached in memory. Catalogs contain the default product structure.
  • For an AOM deployment of eConfigurator, set this parameter on the AOM component.
  • For a dedicated eConfigurator server deployment, set this on the eProdCfgObjMgr component instead.

Determining Rough Sizing for Caching Parameters

To help you determine how to set the Snapshot Mode caching parameters, a general suggestion is to measure the incremental memory required for a customizable product.

Requirements for factory and worker caching are more relevant than those for object caching. Object caching has a small requirement, and applies to multiple users. Factory caching applies to multiple users (using the same customizable product). Worker caching also applies to multiple users.

You can try this on a Siebel Dedicated Web Client (a Mobile Web Client using a dedicated database connection) by checking the memory used by the siebel.exe process before and after you click Customize for a customizable product included in a quote or order, and again after you have further configured the customizable product (to reach maximum likely memory usage).

For example, X may be the before-loading memory size, Y may be the after-loading size, and Z may be the memory size after additional product configuration.

Of the incremental memory observed, consider the following breakdown:

Refreshing the Snapshot Mode Cache

Siebel administrators or product administrators can refresh the Snapshot Mode cache in any of several ways:

Refreshing the Snapshot Mode Cache

A product administrator can select Refresh Cache to erase the Snapshot Mode cache on all the servers connected to the Siebel Database.

This action does not erase the contents of the CFGCache cache on the Siebel File System. Periodically you should do this manually.

The next configuration session reloads the Snapshot Mode cache and the CFGCache cache on the Siebel File System with the content applicable to that session. Subsequent sessions load from the Snapshot Mode cache.

NOTE:  Because refreshing the cache has a significant effect on the performance of product configuration sessions started afterwards, carefully decide when it is appropriate to do this.

To refresh the Snapshot Mode cache

  1. Navigate to the Product Administration screen.
  2. Select a record for a customizable product.
  3. In Customizable Products > Product Versions, open the menu and click Refresh Cache.

NOTE:  Restarting the Siebel Database Server also erases the Snapshot Mode cache on the server. The next configuration session is loaded as if the user had selected the Refresh Cache menu option.

Refreshing the Cache with Product Changes

While editing a product record, a product administrator can select Refresh Product Cache to erase from the Snapshot Mode cache all the customizable products containing the product.

In other words, when a product administrator changes a product record, the product record can serve as a filter to selectively update the Snapshot Mode cache.

The next time a user requests the customizable product, the user receives a freshly instantiated version reflecting the product change and the cache is refreshed with this version. For example, you could change the product description or part number and then refresh the cache.

You cannot propagate changes to class assignment by doing this type of refresh.

To refresh the cache with product changes

  1. Navigate to the Product Administration screen.
  2. Select the record for a customizable product that has been changed or that is to be refreshed.
  3. From the Products menu, choose Refresh Product Cache.
Refreshing the Cache with Class Changes

While editing a product class record, a product administrator can select Refresh Class In Configuration Cache to erase from the Snapshot Mode cache all the customizable products containing products from the class.

In other words, the product administrator can use a product class as a filter to selectively delete customizable products from the cache.

If you have Snapshot Mode turned on and a customizable product that is affected by the class change is in the Snapshot Mode cache, the changes are not propagated to the cached version of the product. The next user that requests the customizable product will receive the cached version, which does not reflect the class changes. To make sure users receive the class changes immediately, use Refresh Class In Configuration Cache.

The next time a user requests the customizable product, the user receives a freshly instantiated version reflecting the product change and the cache is refreshed with this version. This new instance will reflect the changes you made to the class.

To refresh the cache with class changes

  1. Navigate to Application Administration > Class Administration.
  2. Select a product class and modify it or its attribute definitions as needed.
  3. From the Classes menu, choose Refresh Class In Configuration Cache.


 Performance Tuning Guide 
 Published: 24 October 2003