IBM Support

JR46500: CMVC 228319 - Improve ShopcartDrivenAgendaBuilder cache hits.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • ShopcartDrivenAgendaBuilder issues a query with multiple
    catentry ids, and another query with multiple category ids.  The
     ids represent
     what is currently in the shopcart.  Because there are multiple
    ids in each query, the cache hit ratio will be low.
    

Local fix

Problem summary

  • USERS AFFECTED:
     WebSphere Commerce version 7 users using
    ShopcartDrivenAgendaBuilder for the promotions
    
     PROBLEM ABSTRACT:
     Improve ShopcartDrivenAgendaBuilder cache hits.
    
     BUSINESS IMPACT:
     Possibly reduced performance.
    
     RECOMMENDATION:
    

Problem conclusion

  • The cache hit ratio can be improved by caching separate cache
    entries for each catentry or category id.
    
     The ShopcartDrivenAgendaBuilder class is modified to use the
    data cache to cache SQL query results in the following logical
    data caches, which by default use the object caches with the
    JNDI names specified in parentheses.
    
     com.ibm.commerce.marketing.promotion.runtime.ShopcartDrivenAgen
    daBuilder (services/cache/WCPromotionDistributedMapCache)
    
     com.ibm.commerce.marketing.promotion.runtime.ShopcartDrivenAgen
    daBuilder.SHOPCART
    (services/cache/WCPromotionDistributedMapCache)
    
     com.ibm.commerce.marketing.promotion.runtime.ShopcartDrivenAgen
    daBuilder.findByCatEntry
    (services/cache/WCCatalogEntryDistributedMapCache)
    
     com.ibm.commerce.marketing.promotion.runtime.ShopcartDrivenAgen
    daBuilder.findByCatGroup
    (services/cache/WCCatalogGroupDistributedMapCache)
    
     Note:  Each logical data cache can be configured individually.
    For details, refer to:
     http://pic.dhe.ibm.com/infocenter/wchelp/v7r0m0/topic/com.ibm.c
    ommerce.admin.doc/concepts/cdcaddcomdatcacheconfig.htm
     -------------------------------------------------------------
     The latest available maintenance information can be obtained
    from the Recommended Fixes for WebSphere Commerce technote:
     http://www.ibm.com/support/docview.wss?rs=3046&uid=swg21261296
    

Temporary fix

Comments

APAR Information

  • APAR number

    JR46500

  • Reported component name

    WC BUS EDITION

  • Reported component ID

    5724I3800

  • Reported release

    700

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2013-04-30

  • Closed date

    2014-03-17

  • Last modified date

    2014-03-17

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    WC BUS EDITION

  • Fixed component ID

    5724I3800

Applicable component levels

  • R700 PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSYSYL","label":"WebSphere Commerce Enterprise"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.0","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
17 March 2014