ade irwansiah | 29 Jul 08:13
Favicon

Test TPS Performance Q2 with TransactionManager

Dear Alejandro,

We are testing Q2 with TransactionManager 
our configuration is listed below.

QServer->TxnMgr->DataBase

our testing is sending 1000 inquiry message from our client-simulator (PC Client)
to Q2 engine (PC Server),
when q2 received message then it check from database if customer_id exist (Inquiry.java)
then get bill detail from database (InquiryResponse.java)
and send it back (SendResponse.java)

for connection to database we are using hibernate.

the goal is our engine can handle > 150 tps,
the calculation for tps:
tps = 1000/(time to completed in second)

when we test for several times, the result is under our expectation.
average of time to completed is 80-100 second.

we need your advice, how to increase the tps?

Regard,

Ade Irwansiah

Configuration File:

(Continue reading)

Mark Salter | 29 Jul 11:48

Re: Test TPS Performance Q2 with TransactionManager

ade irwansiah wrote:

> our testing is sending 1000 inquiry message from our client-simulator (PC Client)
> to Q2 engine (PC Server),
Are the test requests being sent sequentially or is your 
client-simulator spreading the requests across multiple (upto 150 
defined) connections?

Is the client-simulator experiencing any timeouts at all?

> the goal is our engine can handle > 150 tps,
> the calculation for tps:
> tps = 1000/(time to completed in second)
> 
> when we test for several times, the result is under our expectation.
> average of time to completed is 80-100 second.
So you are seeing a tps of between 10 and 12.5 tps?

> 
> we need your advice, how to increase the tps?
Only you can do the initial investigation into where each transaction is 
spending it's time?
If you should find that one of the jPOS components is taking an unfair 
portion of the time (0.15 seconds) you want to spend servicing each 
request then a specific question.

You can add profiling to help you track down the heaviest part of your 
processing - search this and the more relevant jpos-users mailing list 
(@ google groups) for references to 'org.jpos.util.Profiler', which may 
help you.
(Continue reading)

Alejandro Revilla | 29 Jul 12:11
Favicon

Re: Test TPS Performance Q2 with TransactionManager

In addition to Mark's comments, I'd play with the 'sessions' property
of the TransactionManager's configuration.

------------------------------------


Gmane