Microsoft KB Archive/259085

From BetaArchive Wiki
Knowledge Base


MSMQ-MQSeries Bridge: Reducing polling traffic from Windows NT to MQSeries

Article ID: 259085

Article Last Modified on 12/28/2004



APPLIES TO

  • MSMQ - MQSeries Bridge



This article was previously published under Q259085

SUMMARY

Observation of network traffic shows that the MSMQ-MQSeries Bridge is exchanging Transfer Control Protocol (TCP) messages with MQSeries about 20 times per second when no application messages are being sent. This is the normal polling traffic to check for new messages on the MQSeries channel to be sent to Microsoft Message Queuing destination queues.

MORE INFORMATION

The MSMQ-MQSeries Bridge uses a polling method to examine the queue on the MQSeries platform to determine whether there are any messages to be retrieved. By default, this polling interval is set to a fixed value of 50 milliseconds (msec) and is not tunable. This hotfix adds a registry key to enable external control of this interval. The algorithm that is used lets the user to control the poll interval similar to TCP session timeouts.

An initial interval is set. Then, for each nonproductive poll, this interval is doubled until the maximum polling interval is reached. By default, this fix implements an initial default of 100 msec for the minimum poll interval and sets the maximum poll interval to 0. When the default is used, or when the maximum poll interval is set to 0, doubling does not occur. This behavior allows for a fixed poll interval that is similar to the released code. However, the user can now set this interval. A value of greater than 60,000 for the MaxPollingTimer interval is clipped to 60,000.

When a message is found on the queue, the timer is reset to the MinPollingTimer interval.

For additional information about the latest service pack for SNA Server 4.0, click the following article number to view the article in the Microsoft Knowledge Base:

215838 How to obtain the latest SNA Server version 4.0 service pack


Keywords: kbinfo kbqfe KB259085