ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » MB 7 to SAP - JCA Adapter Throughput Tuning for DEBMAS IDOC

Post new topic  Reply to topic
 MB 7 to SAP - JCA Adapter Throughput Tuning for DEBMAS IDOC « View previous topic :: View next topic » 
Author Message
gotnoid
PostPosted: Wed Jul 25, 2012 12:19 pm    Post subject: MB 7 to SAP - JCA Adapter Throughput Tuning for DEBMAS IDOC Reply with quote

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
View user's profile Send private message
lancelotlinc
PostPosted: Wed Jul 25, 2012 12:48 pm    Post subject: Reply with quote

Jedi Knight

Joined: 22 Mar 2010
Posts: 4941
Location: Bloomington, IL USA

Additional instances +4.
_________________
http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER
Back to top
View user's profile Send private message Send e-mail
gotnoid
PostPosted: Wed Jul 25, 2012 12:50 pm    Post subject: Reply with quote

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
View user's profile Send private message
lancelotlinc
PostPosted: Wed Jul 25, 2012 1:01 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
gotnoid
PostPosted: Wed Jul 25, 2012 3:52 pm    Post subject: Reply with quote

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
View user's profile Send private message
gotnoid
PostPosted: Thu Jul 26, 2012 10:41 am    Post subject: Reply with quote

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
View user's profile Send private message
lancelotlinc
PostPosted: Thu Jul 26, 2012 10:56 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
gotnoid
PostPosted: Thu Jul 26, 2012 11:28 am    Post subject: Reply with quote

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
View user's profile Send private message
fjb_saper
PostPosted: Thu Jul 26, 2012 11:55 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
gotnoid
PostPosted: Fri Jul 27, 2012 5:10 am    Post subject: Reply with quote

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
View user's profile Send private message
fjb_saper
PostPosted: Fri Jul 27, 2012 5:45 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » MB 7 to SAP - JCA Adapter Throughput Tuning for DEBMAS IDOC
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.