Project

General

Profile

Load Test Integrated » History » Revision 6

Revision 5 (chin-yeh, 12/02/2010 05:03 PM) → Revision 6/8 (Chooi-Mey, 12/03/2010 09:54 AM)

{{toc}} 

 h1. Load Test Result on the fully integrated system 

 The purpose of this test is to examine the performance on the fully integrated system. 

 Was tested using the following modules set: 
 |_.Name|_.Version| 
 |ecosway-adaptor|0.4.4-SNAPSHOT| 
 |ecwyadaptor|0.0.1-SNAPSHOT| 
 |ecwyconnector|1.0.1-SNAPSHOT| 
 |jms-adaptor|0.6.2-SNAPSHOT| 
 |soap-adaptor|0.5.4-SNAPSHOT| 
 |us-beans|1.1-SNAPSHOT| 
 |ws-mimic|2.4.2-SNAPSHOT| 
 |ws-status|1.1.1-SNAPSHOT| 
 |xml-mapper|1.4-SNAPSHOT| 
 |build-ecosway-adaptor|1.0-SNAPSHOT| 

 > The logging level for all modules are set to <code>INFO</code>. 

 Test Platform: 
 * 4 cores CPU 
 * 5GB RAM 
 * 72GB 10K RPM x 8 

 h2. Test Areas 

 This test consists of the following area: 
 * from *ecosway-adaptor* to *web service mimic* 
 * from *web service mimic* to *dot com web service* 
 * from *web service mimic* to *synchronization status's listener* 

 h2. Test Result 

 The result consists of 2 parts: 
 * Shopper Registration 
 * BO or VIP Shopper Registration 

 h3. Shopper Registration 

 * from *ecosway-adaptor* to *web service mimic*: 
 |_.Test #|_.Time Taken (ms)| 
 |200 messages|11877| 
 |200 messages|13039| 
 |200 messages|15345| 
 |200 messages|14336| 
 |200 messages|11471| 
 |200 messages|16529| 
 |200 messages|13792| 
 |200 messages|10773| 
 |200 messages|14270| 
 |200 messages|12648| 
 |*Total*|134080| 
 |*Average*|13408| 

 * from *web service mimic* to *dot com web service*: 
 ** average time taken: *99.285* ms 

 * from *web service mimic* to *synchronization status's listener* 
 ** average time taken: *79.055* ms 

 * Summary: 
 |_.Name|_.Description| 
 |Time taken to process 1 message in average|67.04 ms + 99.285 ms + 79.055 ms = *245.38* ms| 
 |Total message size|*742507* bytes| 
 |Average message size|*3712.535* bytes| 
 |max number of messages| *horneq's maximum message size in bytes* / *message size* = 10485760 / 3712.535 = *2824* messages| 



 h3. BO or VIP Shopper Registration 

 * from *ecosway-adaptor* to *web service mimic*: 
 |_.Test #|_.Time Taken (ms)| 
 |40 messages|5314| 
 |40 messages|1877| 
 |40 messages|2246| 
 |40 messages|2582| 
 |40 messages|5327| 
 |40 messages|2415| 
 |40 messages|2323| 
 |40 messages|5386| 
 |40 messages|1854| 
 |40 messages|5823| 
 |*Total*|35147| 
 |*Average*|3514.7| 

 * from *web service mimic* to *dot com web service*: 
 ** average time taken: *152.8* ms 

 * from *web service mimic* to *synchronization status's listener* 
 ** average time taken: *54.75* ms 

 * Summary: 
 |_.Name|_.Description| 
 |Time taken to process 1 message in average|87.8675 ms + 152.8 ms + 54.75 ms = *295.4175* ms| 
 |Total message size|*374995* bytes| 
 |Average message size|*9374.875* bytes| 
 |max number of messages| *horneq's maximum message size in bytes* / *message size* = 10485760 / 9374.875 = *1118* messages| 


 * Feedback by CM (03 Nov 2010): 
 ** Based on discussion, while queue pool is full (during peak time) till not able to accept any new incoming request, instead of request is wait till no end which will impact on frontend app waiting time, go for approach that drop the request packet or set the request timeout. As request has already been stored in Event Log table, which can be pick up for re-try during re-try daemon execution later.  
 ** Please test on the approach of drop packet/request timeout setting.