1 / 24

Stories from the field

Stories from the field. Darren Jefford Solution Architect, Microsoft UK darrenj@microsoft.com. Some Topics. Suitability? PoC Latency Throttling ESB BizTalk Architect Non Functional Requirements Maintab ility , Manageab ility , Scalab ility Operations/Administration Instrumentation.

osman
Télécharger la présentation

Stories from the field

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Stories from the field Darren Jefford Solution Architect, Microsoft UK darrenj@microsoft.com

  2. Some Topics.. • Suitability? • PoC • Latency • Throttling • ESB • BizTalk Architect • Non Functional Requirements • Maintability, Manageability, Scalability • Operations/Administration • Instrumentation

  3. Scenario 1: App to App integration Complex translations Adapter support Scalability (perf & endpoints) Management, Audit Infrastructure dependencies Management overhead

  4. Scenario 2: B2B Integration Volatile network support Rich & flexible security Adapter support Tracking & Audit Infrastructure dependencies Management overhead

  5. Scenario 3: “Message Bus” Publish subscribe model Message routing Loose coupling Standards, governance Infrastructure dependencies Loosely coupled Standards, governance

  6. Scenario 4: Business Processes Resilience Tooling Scalability Enterprise class Human Workflow Infrastructure dependencies Management cost

  7. Why do I need BizTalk? “Using all the Microsoft integration technologies, could I not build the solution without BizTalk Server?” “Yes. But………”

  8. What’s in a host? Memory Management Scripting & Programmability APIs Thread Management Service Isolation Regulatory Compliance Exception Configuration Archiving & Purging Failed Message Management Disaster Recovery Message Tracking Utilization/Performance Tracking Composite Execution Tracking Are you in the business of building hosts? Health Monitoring Composite State Management Availability Monitoring Load Balancing Multi-environment Deployment Model Fail-over Are you investing in a single solution or a general purpose platform? Configuration Management Throttling Identity & Impersonation Scale-out Configuration

  9. Managing complexity Custom solution Complexity of solution Scenario 1 Scenario 3 Scenario 2 Complexity of requirements

  10. BizTalk environment considerations • Management skills • Good or bad management will make or break your BizTalk solutions reputation • BizTalk Server is a generic platform • Is the customer stretching it to an edge case?

  11. BizTalk Performance & operational factors • Setting performance and capacity expectations • Know the factors that affect capacity • Understand the expected message latency • Our model has both strengths & weaknesses • Transactional integrity is provided by your transports • How do you answer the “Will I ever loose data?” question

  12. Pub/Sub with Orchestration Orchestration Adapter Adapter Adapter Adapter Adapter Adapter Inbound Outbound Pipeline Pipeline Pipeline Pipeline Pipeline Pipeline Message Agent Subscriptions MessageBox

  13. “Receive” Throttling • Receive Throttling relates to Throttling imposed on the receipt of messages into the BizTalk Message Box • Applies to hosts containing • Adapters • Orchestrations (that create and publish messages to the Message Box) • Message publishing throttling state performance counter • Implemented through • EPM Delays, EPM Threads

  14. Publishing throttling states • 0: No throttling • 2: Rate • 4: Process Memory • 5: System Memory • 6: Database size • 8: Database session count • 9: Thread count • 11: User Override

  15. Processing Throttling • Processing Throttling relates to Throttling imposed on the processing or consumption of messages from the BizTalk Message Box • Applies to hosts containing Send Ports and Orchestrations • Message delivery throttling state • Implemented through • Delay in delivering messages • In-memory queue size is reduced (100) • Thread Pool reduced

  16. Delivery throttling states • 0: No throttling • 1: Rate • 3: Unprocessed message • 4: Process Memory • 5: System Memory • 9: High Thread Count • 10: User Override

  17. Common Symptoms • “Orchestration completed/sec drops off suddenly” • Not enough work? • SQL Server problems • Throttling

  18. Common Symptoms.. • “High CPU” • Rules Engine • Translation • Orchestration serialization • Persistence points • Custom Code • Serialization, System.Xml, RegEx, etc • Visual Studio Profiler is your friend

  19. Common Symptoms.. • “High Memory Usage” • Rules Engine cache • BizTalk suppresses GC • Throttling will kick in after ~600MB

  20. Common Symptoms.. • “There were not enough free threads in the ThreadPool object to complete the operation”“Web Service calls performing slowly” • Thread Starvation • All in one host? • Too slow to create threads?

  21. Common Symptoms.. • “Low Throughput (not achieving the msg/sec you want)” • Are you feeding BizTalk with enough work? • Inspect Spool and Host queues • Is BizTalk throttling? • Dependant system keeping up? • Poor performing disks • Extra BizTalk servers if throttling is not occuriong, sql is looking good

  22. Common Symptoms.. • “Heavy BAM Usage” • BAM_DM_<ActivityName> SSIS job • Tracking Data Size perf counter

  23. Common Symptoms.. • “Spool increasing steadily” • Inspect Host Queues, which one building, rx, ox or tx? • Host throttling? • Check SQL Server Agent is running?

More Related