BizTalk Server Performance Tips: #3 – Increase HTTP Outbound Connections Limit

Another quick tip for a performance improvement in BizTalk especially when using HTTP to communicate to other web services (in other words, you are using SOAP or WCF based Send Ports).

By default (thanks Microsoft!), a process will only allow two simultaneous outbound HTTP connections to any particular domain (eg, http://www.wordpress.com). This can severely impact performance.

The key attribute to adjust here is maxconnection and can be found on the <ConnectionManagement> element in Machine.config. The default values are as follows.

<connectionManagement>
  <add address="*" maxconnection="2"/>
</connectionManagement>

The default value should be increased in the BizTalk process configuration files – rather than the Machine.config file – and I suggest that it be set it to 12 times the number of CPUs.

Thus, the resultant config entry becomes …. (the IP address has been changed to protect the innocent).

<system.net>
 <connectionManagement>
  <add address="127.0.0.1" maxconnection="24"/>
 </connectionManagement>
</system.net>

 

Until next tip… be good!

Advertisements

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s