Re: Performance issue with large shopping cart (50+ items in the cart)

‏2011-08-02T07:58:27Z

This is the accepted answer.
This is the accepted answer.

Does your store have alot of promotions? If so, that can slow things down quite a bit. Try setting the minsize and maxsize of the cache specifications in PromotionEngineConfiguration.xml to the same value (the high one).
Also, are you caching the shop cart display? Otherwise it will be doing alot of work looking up product titles and prices again and again, especially if your shop does not use the minibasket to keep people on the category page while shopping.

Re: Performance issue with large shopping cart (50+ items in the cart)

‏2011-08-10T17:59:06Z

This is the accepted answer.
This is the accepted answer.

Also make sure you've enabled all the large cart performance improvements:
http://publib.boulder.ibm.com/infocenter/wchelp/v7r0m0/topic/com.ibm.commerce.developer.doc/concepts/coslscsov.htm
http://publib.boulder.ibm.com/infocenter/wchelp/v7r0m0/topic/com.ibm.commerce.developer.doc/tasks/toslscsenabledisable.htm

Re: Performance issue with large shopping cart (50+ items in the cart)

Also make sure you've enabled all the large cart performance improvements:
http://publib.boulder.ibm.com/infocenter/wchelp/v7r0m0/topic/com.ibm.commerce.developer.doc/concepts/coslscsov.htm
http://publib.boulder.ibm.com/infocenter/wchelp/v7r0m0/topic/com.ibm.commerce.developer.doc/tasks/toslscsenabledisable.htm

Re: Performance issue with large shopping cart (50+ items in the cart)

‏2012-11-26T12:36:03Z

This is the accepted answer.
This is the accepted answer.

Please monitor the performance of PromotionEngineOrderCalculateCmdImpl. Try to reduce the redundant invocations of OrderCalculate (if any). If your database is Oracle, also monitor the table PX_PROMOARG for any locks (APAR SE49279 can help avoiding the db locks). As already suggested by Asger, try changing the InitialCacheSIze and MaximumCacheSize of the cache objects in WCSPromotionEngine.xml. But make sure you do not make the cache size too high, which would rather degrade your JVM performace.

Also, try to reduce the number of promotions if the active promotion count is too high. If there are too many catentry promotions which provide X% OFF or $X OFF, try to define the OfferPrice instead of a promotion (if acceptible by your Business).