Close

BizTalk performance tip

If you see a sudden performance drop in BizTalk when sending messages, you might have an issue of throttling. BizTalk will throttle when it can’t deliver messages to a send port. There are two settings you can set to prevent BizTalk from throttling and increase performance. The solution centers around a correct size of de host instance queues in the MessageBox. First of all, you can set the length of the host instance queues (per host) via the BizTalk Admin Console. Right-click the BizTalk Group node and select Settings. Select Hosts and then the host you want to modify in the drop down list at the top of the page. Next you can specify the Internal Message Queue Size. The default value is 100, so max 100 messages in the host instance queue. You can change this value to 150 or 200. See the screen print below:

QueueSize

Another setting you can change is in the BizTalk Config file. You can set the number of simultaneous connections. The default is 2. You can change this setting to nbr of CPU’s x 12. So, for instance 48 for 4 CPU’s. See the example below which sets the simultaneous connections for all services called via a send port.

<system.net>
<connectionManagement>
<add address=”*” maxconnection=”48″ />
</connectionManagement>
</system.net>

You can also set the maximum number of connections for a specific address:

<system.net>
<connectionManagement>
<add address=”test-rfs.mp-objects.com” maxconnection=”48″ />
<add address=”*” maxconnection=”10″ />
</connectionManagement>
</system.net>