create new tag
view all tags


Story summary Deploy framework
Iteration ItEr74week14To24
FEA ItEr74S08DeployFramework
Story Lead  
Next Story ItEr75S19DeployFrameworkItEr74S08
Passed acceptance test No

Acceptance Criteria

Additional Specification Comments

Implementation Notes

Load Tests

For doing a simple load stress test I've used jMeter. In Ubuntu can be installed apt-get install jmeter. Your mileage may vary.

You should open load-test-libreplan.jmx file with jMeter. It contains a stress test with 20 simultaneous users accessing several parts of the application. It contains a big order and a small order. The ids of the orders are hardcoded in the urls of the stress test, so you should use the attached dumps or modify the stress test. There is one dump for just before the merge of migration-to-zk5 and one for the current point in master. You can get it up to date applying liquibase migrations, i.e., mvn process-resources.

In order to execute the test:

  • Initialize database with one of the associated dumps and run mvn process-resources to get it up to date.
  • Launch navalplan
  • In jMeter File -> Open and choose the attached .jmx file.
  • In jMeter Run -> Start
  • You can see the results in Summary Report as they are being produced.
  • When you have enough samples, for example around 60 for each action you can do Run -> Stop

Results for before the merge and after the merge are attached in .csv format, showing an improvement using zk5.

Results have been produced using a Intel(R) Core(TM)2 Duo CPU T7700 @ 2.40GHz with two cores and 4096 KB of cache. RAM memory: 2Gb. Jetty was launched with -Xmx1024m. PostgreSQL 8.4 with default configuration has been used. java version "1.6.0_20" OpenJDK Runtime Environment (IcedTea6 1.9.8) kernel version: 2.6.35-30-generic #54-Ubuntu SMP i686

If you want to reproduce the results for before the merge go to c50dbd372c7bbbd0dede04ad53d21dfe163a785c and cherry-pick f66cf0f278084acdbaee993aa51093bb49a28219 . Otherwise the results of loading the orders are not real (the orders are not really loaded).

-- OscarGonzalez - 02 Jul 2011

Delay Causes

Final or Pending Considerations



Tasks in this story

Total Hours in this Story


Topic attachments
I Attachment History Action Size Date Who Comment
Unknown file formatsql dump-for-8cdaf4e50381b7550fc01455553d8b31dc03fbf5.sql r1 manage 293.8 K 02 Jul 2011 - 15:53 UnknownUser  
Unknown file formatsql dump-for-before-merge.sql r1 manage 293.0 K 02 Jul 2011 - 15:52 UnknownUser  
Unknown file formatjmx load-test-libreplan.jmx r1 manage 21.4 K 02 Jul 2011 - 15:51 UnknownUser  
Unknown file formatcsv results-8cdaf4e50381b7550fc01455553d8b31dc03fbf5.csv r1 manage 1.4 K 02 Jul 2011 - 15:54 UnknownUser  
Unknown file formatcsv results-before-merge.csv r1 manage 1.4 K 02 Jul 2011 - 15:54 UnknownUser  
Edit | Attach | Watch | Print version | History: r7 < r6 < r5 < r4 < r3 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r7 - 03 Jan 2012 - jmoran
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback