Inventory availability caching

The inventory availability master information typically resides on one or many backend inventory management systems (IMS). Some backend inventory management systems, for example, legacy in-store systems, might have performance, scalability, and availability limitations. The Inventory component and its services are designed with caching support to address these limitations. That is, the inventory availability of an item at a location can be cached by the component, either in memory, or in the database. WebSphere Commerce records the inventory information in the local database cache or memory cache, and the master data is contained in an external inventory system.

The Inventory component's caching support includes the following features:


Cache records

The inventory component can cache at most one inventory availability record for each combination of item and location. Each cached record contains the following information:

The inventory component can cache an inventory availability record in memory or in the database, depending on the inventory configuration of the item and location. A distributed object cache is used to cache inventory availability records in memory. Advantages of using a distributed object cache include:

Caching inventory availability records in memory is useful when it is either impossible or undesirable to batch-load the records into the database. For example:

Cached records are updated when:

Note: Cache updates can trigger JSP file cache invalidations. However, this should not be considered a replacement for efficient store design. The design phase should emphasize balancing performance and usability considerations.


Inventory configuration

A retailer can set up multiple inventory configurations and apply them to different items and locations. For example, the retailer can set up:

Each inventory configuration contains the following options:

Examples of inventory configuration include:


Related concepts
Store interactions with a DOM inventory system


Related tasks
Enable DOM inventory system integration


Related reference
Service interfaces used by DOM integration for inventory management