Our validation team has been working for a couple of weeks on setting up a test and validation infrastructure for both XPDL and BPEL extensions. This infrastructure has allow us stabilize latest releases candidates of Nova Bonita (XPDL) and Nova Orchestra (BPEL) projects on top of the PVM.
I would like to do the same work on the PVM before release the 1.0 version so in this post I'Â€Â™ll describe our tests infrastructure, hardware and software configuration as well as the nature of those tests. Please let me know what do you think...
1.- To obtain detailed information about the project behaviour and system resources consumption (CPU, network, GC, memory...) for a particular load injection. From a particular configuration we will push the projects to their limits in terms of number of simultaneous users in parallel.
2.- To check project stability over time while supporting a constant charge during a long period of time
Software and hardware configuration
1.- The Load Injection Framework we used is CLIF (http://clif.ow2.org/). Clif is a framework written in Java providing performance tests capabilities over any system type. Main features of Clif are:
- deployment, remote management and monitoring capabilities in a distributed environment (both injectors and probes)
- collection of data related to resources consumption
2.- Hardware configuration is the following: 3 servers + 1 PC
- Clif charge injector/s: 2 CPU Intel Xeon, 3GHz with 8GB RAM running on RedHat Linux AS
- Project server (either Nova Bonita or Nova Orchestra): 4 CPU Intel Xeon, 4GHz with 8GB RAM running on Debian and both BEA and SUN jdk 1.5
- Database: 4 CPU IA-64/Itanium 2, 1,5 GHz with 6GB RAM running on Debian and Postgres 8.3.0-1, Oracle 10.2.0.3 and MySQL 5.0.51a-3 databases
- Clif supervision console: PC
A Clif injector is a java based class (called plugin) that generates sequence of queries with a defined think time in between. While, if and conditional statements can also be added.
HTTP, RMI, DNS, JDBC, TCP/IP, LDAPÃ¢Â€Â¦ protocols can be users from within the Clif injectors.
Our validation team has developed to Clif injectors (one for Nova Bonita and the other for Nova Orchestra):
- Nova Bonita injector leverages the java API (accessible either as POJOs or as Session Beans). After the deploy of a workflow process, each Clif scenario (virtual user) will be composed by the following operations: workflow instance creation, getTodo queries and manual activities execution. A scenario represents a complete creation and execution of a workflow instance by the same user. Think times can be added in between each one of those operations.
- In Nova Orchestra, the injector is using the http protocol to call a web services that will create an instance of a BPEL process.
Different XPDL and BPEL processes are currently used in those scenarios.
We have basically defined two different kind of tests:
- Heavy load tests: short time tests scenarios (aka 1 h.) in which the load is increased each defined period of time
- Stability and robustness tests: long time tests scenarios where the injector maintains this load during some hours.
- CPU consumption for the 3 servers: injector, project and database
- Query execution average time
- 1 query is consider as a complete execution of a XPDL/BPEL instance
- Status of other resources such hard disks, network
- JVM behaviour through the GC analysis and % of memory used -> that allows us to easily find memory leaks.
- DB related data: top 10 of db queries: talking more time and more often executedÃ¢Â€Â¦