BizTalk Server 2009: Performance Tuning
Manoj AgarwalSenior Development LeadBizTalk Server Product TeamMicrosoft India Development Center
Objectives
Techniques for optimizing the infrastructure of the BizTalk Server SystemHow to increase the throughput and reduce the latency of the systemHow to maximizing return on invested hardware and software capital
Performance Tuning
No Silver BulletTesting -> 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 updatesTurn off Hyperthreading
Windows Tuning
Configure Serverfor High network throughput and parallelismto favor background services
Disk optimizationDefragment DisksUse stripe sets
File systemDisable creation of short namesLimit the use of file compression or encryption
Windows Tuning Contd…
Anti-virus SoftwareDisable real-time scanning of
SQL Server filesNon-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 ParallelismIsolate transaction and data log filesSplit TempDB files across multiple filesTurn on T1118 trace flag
BizTalk Database Tuning
Isolate MessageBox with tracking databaseAvoid primary messagebox bottleneckSet MAXDOP to zero on non-messagebox database serversVerify the BizTalk Server SQL Agent Jobs are runningConfigure Purging and Archiving of Tracking Data
BizTalk Application Tuning
Message SizeBAM EventStream APISHost configurationOrchestrations
Message Size
Large message fragment sizeImpact on the
number of transactionsAvailable memoryTransaction timeoutSQL Locks
BAM Performance FactorsBAM EventStream APIs
DirectEventStream (DES)BufferedEventStream (BES)OrchestrationEventStream (OES)MessageEventStream (MES)
Host Configuration
Separation of functionalityProvides Scalability
Dedicated tracking hostDisable tracking when not requiredMaxReceiveInterval value in the adm_ServiceClass tableDo not cluster hosts unless absolutely necessary
Orchestrations
Use XMLReader instead XMLDocumentUse distinguished fieldsPersistence pointsUse Appropriate .NET classes
Helpers and ServicesEntities and Business Objects
Call Vs Start orchestration shapeImpact of correlated messages on throttling
Action Items
Take maximum advantage of your existing investmentDownload 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
question & answer
धन्यवा�दઆભા�ર ধন্য�বা�দ
ਧੰ�ਨਵਾ�ਦ
ଧନ୍ୟ�ବା�ଦ
நன்றி�
ధన్య�వాదాలు� ಧನ್ಯ�ವಾ�ದಗಳು
നി�ങ്ങള്ക്ക്� നിന്ദി�
© 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 troubleshootingPerformance CountersThroughput Vs latencyScaling
Scaling UpScaling Out
Resolving CPU Bottlenecks
Add multiple processors for multi-threaded applicationsReduce thread count for your process
Resolving memory bottlenecks
Tune memory allocationsIncrease the size of windows paging fileDisable non-essential servicesRemove unnecessary protocols and driversInstall additional memory
Top Related