manoj agarwal - download.microsoft.com
TRANSCRIPT
Manoj AgarwalSenior Development LeadBizTalk Server Product TeamMicrosoft India Development Center
Objectives
Techniques for optimizing the infrastructure of the BizTalk Server System
How to increase the throughput and reduce the latency of the system
How to maximizing return on invested hardware and software capital
Performance Tuning
No Silver Bullet
Testing -> Tuning -> Testing
Bottom-up methodology
• Hardware
• Windows
• Network Infrastructure
• SQL Server
• BizTalk Server Databases
• BizTalk Server Applications
Hardware Platform Tuning
Apply BIOS, Firmware and Driver updates
Turn off Hyperthreading
Windows Tuning
Configure Serverfor High network throughput and parallelism
to favor background services
Disk optimizationDefragment Disks
Use stripe sets
File systemDisable creation of short names
Limit the use of file compression or encryption
Windows Tuning Contd…
Anti-virus SoftwareDisable real-time scanning of
SQL Server files
Non-exe file types in BizTalk file-drop locations
Disable network scanning between BizTalk Server and SQL Server
Network Infrastructure Tuning
Buffering (prevent network congestion)
Offloading (remove processing from host CPUs)
Parallelism (subnets)
Bottom-up methodology
Hardware
Windows
Network Infrastructure
• SQL Server
• BizTalk Server Databases
• BizTalk Server Applications
SQL Server Tuning
Pre-allocation and Parallelism
Isolate transaction and data log files
Split TempDB files across multiple files
Turn on T1118 trace flag
BizTalk Database Tuning
Isolate MessageBox with tracking database
Avoid primary messagebox bottleneck
Set MAXDOP to zero on non-messageboxdatabase servers
Verify the BizTalk Server SQL Agent Jobs are running
Configure Purging and Archiving of Tracking Data
BizTalk Application Tuning
Message Size
BAM EventStream APIS
Host configuration
Orchestrations
Message Size
Large message fragment size
Impact on the number of transactions
Available memory
Transaction timeout
SQL Locks
BAM Performance FactorsBAM EventStream APIs
DirectEventStream (DES)
BufferedEventStream (BES)
OrchestrationEventStream (OES)
MessageEventStream (MES)
Host Configuration
Separation of functionalityProvides Scalability
Dedicated tracking host
Disable tracking when not required
MaxReceiveInterval value in the adm_ServiceClass table
Do not cluster hosts unless absolutely necessary
Orchestrations
Use XMLReader instead XMLDocument
Use distinguished fields
Persistence points
Use Appropriate .NET classesHelpers and Services
Entities and Business Objects
Call Vs Start orchestration shape
Impact of correlated messages on throttling
Action Items
Take maximum advantage of your existing investment
Download BizTalk Server 2009 Trial Version
Developer Edition is FREE with MSDN
subscription
Related Content
BizTalk Server Technology Tent Sessions
Break Out Session: Solving Enterprise Integration challenges with BizTalk Server
Break Out Session: Birds of the same feather - BizTalk Server and WCF
Free BizTalk Server certification exam (70-241) at onsite Certification testing centre
Track Resources
BizTalk Server Performance Optimization Guidehttp://www.microsoft.com/downloads/details.aspx?FamilyID=98ecf11a-9a8e-4939-8cef-2bc5536dc792&displaylang=en
BizTalk Server Database Optimizationshttp://msdn.microsoft.com/en-us/library/bb743398.aspx
BizTalk Server Performance Team Bloghttp://blogs.msdn.com/biztalkperformance
Testing BizTalk Server on Hyper-Vhttp://msdn.microsoft.com/en-us/library/cc768537.aspx
© 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS,
IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
Backup Slides
Investigating Bottlenecks
Initial troubleshooting
Performance Counters
Throughput Vs latency
ScalingScaling Up
Scaling Out
Resolving CPU Bottlenecks
Add multiple processors for multi-threaded applications
Reduce thread count for your process
Resolving memory bottlenecks
Tune memory allocations
Increase the size of windows paging file
Disable non-essential services
Remove unnecessary protocols and drivers
Install additional memory