Microsoft BizTalk Server Performance Optimization Guide

Welcome to the first edition of the Microsoft® BizTalk® Server Performance Optimizations Guide. We created this guide to provide in depth information for optimizing the performance of a BizTalk Server solution. Full end-to-end performance testing is frequently overlooked during enterprise application deployment. Knowing that Microsoft has built a scalable messaging infrastructure, many organizations that use BizTalk Server spend little or no time conducting performance testing of their own applications. BizTalk Server applications consist of many parts, which may include custom-built components as well as those provided by Microsoft. It is impossible for Microsoft to performance test every possible combination of these components. Therefore, fully and properly conducting a performance test of your application is a critical step of any deployment. The purpose of this guide is to consolidate and provide prescriptive guidance on the best practices and techniques that should be followed to optimize BizTalk Server performance.

To download a copy of this guide, go to

We wrote this guide with both BizTalk Server 2006 and BizTalk Server 2006 R2 in mind. The topics apply to both versions unless specifically noted.

Guidance for optimizing performance, based upon hands-on experience of IT professionals that have worked extensively with BizTalk Server. This guide includes:

  • Getting Started: The Getting Started section provides an overview of the BizTalk Server functional components that can affect performance. This section also describes the phases of a BizTalk Server performance assessment.

  • Finding and Eliminating Bottlenecks: The Finding and Eliminating Bottlenecks section describes various types of performance bottlenecks as they relate to BizTalk Server solutions and information about how to resolve the bottlenecks.

  • Automating Testing: The Automating Testing section provides detailed steps that you should follow when engaging in end-to-end testing to assess the performance of a BizTalk Server solution. This topic describes the importance of testing BizTalk solutions, how to implement an automated build process, how to use BizUnit to implement automated testing and how to use LoadGen and BizUnit together to perform load testing.

  • Optimizing Performance: The Optimizing Performance section provides guidance for optimizing performance of specific components in a BizTalk Server environment.

We in the BizTalk Server User Education team gratefully acknowledge the outstanding contributions of the following individuals for providing both technical feedback as well as a good deal of content for the BizTalk Server Performance Optimization Guide:


  • Ewan Fairweather, Microsoft

  • Petr Kratochvil, Microsoft

  • Rob Steel, Microsoft


  • Paolo Salvatori, Microsoft

  • Ben Pearce, Microsoft


  • Stephan Pepersack, Microsoft

  • Justin Langford, Coeo

  • Kevin B. Smith, Barclays Capital

  • Christian Bolton, Coeo

  • Brian Gregor, Microsoft

  • Robert Hogg, Blackmarble

  • John Plummer, Microsoft

  • Niklas Engfelt, Microsoft

  • Everett Yang, Microsoft

  • Clint Huffman, Microsoft

  • Shane Creamer, Microsoft

  • Young Jun Hong, Microsoft

  • Guy Lau, Microsoft

  • Tim Wieman, Microsoft