Author |
Message
|
gotnoid |
Posted: Wed Jul 25, 2012 12:19 pm Post subject: MB 7 to SAP - JCA Adapter Throughput Tuning for DEBMAS IDOC |
|
|
Novice
Joined: 20 Nov 2008 Posts: 15
|
I am trying to post DEBMAS idocs to SAP, the SAP has load balancing and Immediate processing (NOT BATCH) enabled.
In this setting the adapter seems to be waiting till the entire IDOC is posted to SAP. This takes about 20 seconds.
Is there any setting that can be changed on either the Adapter or SAP message server that will help improve the throughput.
Right now its at 4 messages per minute. |
|
Back to top |
|
 |
lancelotlinc |
Posted: Wed Jul 25, 2012 12:48 pm Post subject: |
|
|
 Jedi Knight
Joined: 22 Mar 2010 Posts: 4941 Location: Bloomington, IL USA
|
|
Back to top |
|
 |
gotnoid |
Posted: Wed Jul 25, 2012 12:50 pm Post subject: |
|
|
Novice
Joined: 20 Nov 2008 Posts: 15
|
But that will only make 4 instances wait, is there nothing that will make adapter not wait on the IDOC to process completely. Or even make the Message Server on SAP to release the handshake without waiting for the entire IDOC processing to complete.
Is there a way to decouple this. |
|
Back to top |
|
 |
lancelotlinc |
Posted: Wed Jul 25, 2012 1:01 pm Post subject: |
|
|
 Jedi Knight
Joined: 22 Mar 2010 Posts: 4941 Location: Bloomington, IL USA
|
On the SAP server side, polling adapters do not use parallel processing, even if you have multiple server nodes. So only one thread will be assigned to a particular communication channel. If the idoc is still processing at the end of the polling period a new thread will not be allocated, the same idoc will continue processing.
You'll have to get your SAP developer to tune the Business Process Engine for your particular idoc so that the mean processing time for most of your idoc falls within the polling interval. Then +4 to the additional instances so that you have more than one idoc ready to go at the moment the poll interval is reached.
You may be missing the poll interval just enough to see really high latency. You need +4 instances so that the idocs are queued up and ready to process within nanoseconds of the polling thread availability. _________________ http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER |
|
Back to top |
|
 |
gotnoid |
Posted: Wed Jul 25, 2012 3:52 pm Post subject: |
|
|
Novice
Joined: 20 Nov 2008 Posts: 15
|
Thank you for the reply, I will get in touch with the SAP developer on that. |
|
Back to top |
|
 |
gotnoid |
Posted: Thu Jul 26, 2012 10:41 am Post subject: |
|
|
Novice
Joined: 20 Nov 2008 Posts: 15
|
Hi I talked to the SAP BASIS team, the polling interval is set at a very low value.
The IDoc itself stays in pending state for a long time (20 Seconds) but as soon as the status changes to processed, instantaneously the next message is picked up by the adapter flow from the queue.
So, the symptoms donot seem to indicate that its not a polling related issue. I remember WBI adapters being able to spawn multiple threads to connect to SAP, is there any setting in the JCA version that does the same ? |
|
Back to top |
|
 |
lancelotlinc |
Posted: Thu Jul 26, 2012 10:56 am Post subject: |
|
|
 Jedi Knight
Joined: 22 Mar 2010 Posts: 4941 Location: Bloomington, IL USA
|
The explanation above is fairly detailed and accurate. The trick is to reduce the amount of time the BPE spends processing the request. Your response does not indicate any effort on the SAP developer to tune the BPE. _________________ http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER |
|
Back to top |
|
 |
gotnoid |
Posted: Thu Jul 26, 2012 11:28 am Post subject: |
|
|
Novice
Joined: 20 Nov 2008 Posts: 15
|
You know how they are, SAP is perfect, its not our fault is what I get from them |
|
Back to top |
|
 |
fjb_saper |
Posted: Thu Jul 26, 2012 11:55 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
gotnoid wrote: |
You know how they are, SAP is perfect, its not our fault is what I get from them |
They can also change the setting to send 10 idocs at a time. Make it immediate, but if things back up you get 10 idocs per call instead of 1...  _________________ MQ & Broker admin |
|
Back to top |
|
 |
gotnoid |
Posted: Fri Jul 27, 2012 5:10 am Post subject: |
|
|
Novice
Joined: 20 Nov 2008 Posts: 15
|
Thats interesting, by any chance do you know what that setting is ? Does it need adapter flow to have additional instances ? |
|
Back to top |
|
 |
fjb_saper |
Posted: Fri Jul 27, 2012 5:45 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
gotnoid wrote: |
Thats interesting, by any chance do you know what that setting is ? Does it need adapter flow to have additional instances ? |
It's an SAP setting... _________________ MQ & Broker admin |
|
Back to top |
|
 |
|