[jboss-user] [jBPM] - Re: Advices needed for jBPM5 engine load testing

Franck cdsosi do-not-reply at jboss.com
Wed Oct 24 06:12:12 EDT 2012


Franck cdsosi [https://community.jboss.org/people/cdsosi] created the discussion

"Re: Advices needed for jBPM5 engine load testing"

To view the discussion, visit: https://community.jboss.org/message/772057#772057

--------------------------------------------------------------
Hi Maciej,

Thanks for replying.

To answer to some of your questions :
In my process I have :
- a Start Message Event
- some Service Tasks all synchronous
- at the end of my process i have an EventBasedGateway either waiting for a BPMN message to receive or a timer that is triggering if the message does not arrive within a specific amount of time, then the process ends

My tests are done in the second mode describe above (web application which embeds jBPM runtime) since I want to signal a message to the session (signalEvent method) and then it starts automatically my process (waiting for this message to start of course  ;) )
My main objective is to have an idea as accurate as possible of the threshold of what the jBPM engine is able to handle depending on the amount of HTTP request made to my servlet :
* number of HTTP request send (with OK status) as opposed to the number of created processes in jBPM Engine
* number of created processes and time to complete them
* delay involved when a process is created and "remains in processintanceinfo table" before being completed

This kind of tests is made with other BPMN solutions (by other colleages) to see what each solution is able to handle as far as loading is concerned. The goal is to try to have a good idea of what is reasonable or not to consider with each tested BPMN solutions.
So please help me to rise jBPM5 to the top on the shelf  ;)  even if I already think that is a top one !

Some furher informations :
For each test :
* I start my JAS 7.0.2 Server with postgresql configuration enabled (my servlet instanciate a single session with JPADbMemoryLogger enabled)
* Once JAS 7.0.2 is started and my application well deployed, I send HTTP requests (multiple threads with a constant throughput timer) for several minutes
* Shutdown of the HTTP Request and see how many processes have been completed / how many are pending, time to get all pending processes completed, ...
* Once processintancelog table is empty I shutdown JAS 7.0.2

Each is test is made with a new session (each time my servlet is started), in your opinon is it a problem? => The past sessions are completed that is to say no more processes in a wait state, all completed. Till now I do have only 10 sessions.
Each session has the same bpmn process and only one.
Once a session is no more used, is there anything particular to do ?

Some questions about relationship between session and process instance :
* is there a way to know the session in which a process instance has been created* case 1 processinstance is completed => in table processintancelog I can see a link with a particular session? Many sessions can live together so how do you get this information?
* case 2 process instance is not completed => it appears in table processinstanceinfo so how do you link with a specific session id?


Macej, 
Sorry to ask again and be insistent  ;) , but as far as configuration is concerned, there are no specific recommendations from the jBPM team so that jBPM engine will be at ease or confortable when running ?
- RAM
- CPU
- JVM parameters
- ...

Kind Regards

Franck
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/772057#772057]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20121024/41897626/attachment.html 


More information about the jboss-user mailing list