cancel
Showing results for 
Search instead for 
Did you mean: 

Improve queue Prioritization

Former Member
0 Kudos
474

Dear experts,

we have scenarios with different priority on our SAP PI 7.0 system.

1. Async: File to IDoc (low priority)

2. Async: IDoc to File (high priority)

The scenarios are configured in SXMB_ADM ("Configure Filter for Queue Prioritizazion") and the messages are attached to the correct queues. However, when there are lots of messages in the low priority queue, also high priority messages get delayed. They are still processed much faster than low priority messages, but sometimes there is a delay of some minutes. Please note, that I'm talking about delays in Integration Engine NOT Adapter Engine.

Is it possible to configure a high priority queue, so that messages are always processed directly?

Best regards,

David

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

What is the value for MAXTIME parameter for high priority queue? This determines the priority of messages in queues.

Also, as your low priority interface is file-Idoc, you can increase the polling interval for file sender channel to prevent accumulation of messages in queues when the load is high. This provides enough time for IE to process messages.

Former Member
0 Kudos

Thank you for your answer.

The following queues are configured:

Queue name               Type Mode Max. Runtime Attempts Pause
XBQ1*                     R    D       120         30     300
XBQ9*                     R    D        30         30     300
XBQA*                     R    D       120         30     300
XBQB*                     R    D        60         30     300
XBQI*                     R    D        60         30     300
XBQO*                     R    D        60         30     300
XBQX*                     R    D       120         30     300
XBQY*                     R    D        30         30     300
XBQZ*                     R    D        30         30     300
XBT1*                     R    D       120         30     300
XBT9*                     R    D        30         30     300
XBTA*                     R    D       120         30     300
XBTB*                     R    D        60         30     300
XBTI*                     R    D        60         30     300
XBTJ*                     R    D        60         30     300
XBTL*                     R    D        60         30     300
XBTM*                     R    D        60         30     300
XBTO*                     R    D        60         30     300
XBTX*                     R    D       120         30     300
XBTY*                     R    D        30         30     300
XBTZ*                     R    D        30         30     300

High priority messages get processed with Queue XBTA and low priority with XBTZ.

We increased the polling interval, but we still have the problem, as the files are very big.

Do you have any ideas? Thanks in advance.

Former Member
Former Member
0 Kudos

Hello Puneet,

yes, I used this guide to implement prioritization. However, when there comes a big load of low priority messages, also the high priority messages get delayed a little bit.

Best regards,

David

Former Member
0 Kudos

David,

Just have a look at Kai's reply in the below thread;;'

Also, if you are on PI 7.1, the following link will help:

http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/60832bd5-f4ff-2b10-8080-c8da8c6db...

Edited by: Puneet Singhal on Mar 4, 2011 11:16 AM

Answers (2)

Answers (2)

NikiScaglione
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi,

You have not so much chances to play with queue prioritization. It depends on qRFC scheduler, but try to read my blog since it deals with similar issue.

/people/niki.scaglione2/blog/2011/02/14/handling-low-latency-scenarios-with-pi

Niki

Former Member
0 Kudos

Hi David,

Set the Quality of Service as " ExactlyOnceInOrder" for your IDOC to file Scenario where inwhich all the messages will flow through that queue.

If though you have Low priority scenarios running more, it will not effect the high priority scenario.

Thanks,