Author: jleroux
Revision: 1635192
Modified property: svn:log
Modified: svn:log at Thu Oct 30 17:54:34 2014
------------------------------------------------------------------------------
--- svn:log (original)
+++ svn:log Thu Oct 30 17:54:34 2014
@@ -1,3 +1,5 @@
+Commit for
https://issues.apache.org/jira/browse/OFBIZ-5843+
The storeOrder service, implemented by the OrderService.createOrder() method, synchronously calls the countProductQuantityOrdered service implemented in Minilang. OOTB, the countProductQuantityOrdered service is only called by the storeOrder service implementation. It's called inside a loop on orderItems.
While intentionally load testing a custom project with JMeter on a weak m1.small AWS machine, I noticed the overhead of the service call for each order item iteration was significant on this slow machine. With only 30 concurrent users the process was blocked by a timeout on the countProductQuantityOrdered service.