Transcript Document

BizTalk Throttling and Threshold
Tord Glad Nordahl
1
26. august 2012
Bouvet BizTalk Innovation Event - BizTalk Throttling and Thresholds
Who am I?
• BizTalk Administrator for Bouvet
• Active contributer to the community
– Blog, www.biztalkadmin.com,
www.biztalkadminsblogging.com
– Microsoft TechNet Wiki, forums and galleries
• Co-author of BizTalk Administration
Essentials
• Speaker
• Trainer
2
26. august 2012
Bouvet BizTalk Innovation Event - BizTalk Throttling and Thresholds
What is thresholds?
• Containers
• Limits
• Bounderies
3
26. august 2012
Bouvet BizTalk Innovation Event - BizTalk Throttling and Thresholds
How does thresholds affect
BizTalk
• Designed to…
– manage server resources
– manage rate-based flow
– manage dehydration behavior
4
26. august 2012
Bouvet BizTalk Innovation Event - BizTalk Throttling and Thresholds
Who should change the default
settings?
• When you see thresholds being hit due to
– Rate of messages
– Use of server resources
However 70% of all companies world-wide
never change the defualt setting for
threshold, but should they?
5
26. august 2012
Bouvet BizTalk Innovation Event - BizTalk Throttling and Thresholds
Why would you change them?
• Grant more resources to an application
• Limit the application to perform less
However these changes only comes into play
when you have to change them due to some
of the above bullets.
6
26. august 2012
Bouvet BizTalk Innovation Event - BizTalk Throttling and Thresholds
Resource-based throttling
7
26. august 2012
Bouvet BizTalk Innovation Event - BizTalk Throttling and Thresholds
Rate-based throttling
8
26. august 2012
Bouvet BizTalk Innovation Event - BizTalk Throttling and Thresholds
Orchestration throttling
9
26. august 2012
Bouvet BizTalk Innovation Event - BizTalk Throttling and Thresholds
So what is throttling then?
• Throttling is a first-aid kit to the environment
– Prevent melt-downs
– Prevent memory leaks
– Prevent developer to bring problems into
production
• But it may also
– Help you to manage the use of resources based on
physical resources or rate of data flow
10
26. august 2012
Bouvet BizTalk Innovation Event - BizTalk Throttling and Thresholds
Are we throttling now?
• You can monitor your throttling states
• Performance Monitor
– Built in with BizTalk
• BizTalk Message Agent
11
26. august 2012
Bouvet BizTalk Innovation Event - BizTalk Throttling and Thresholds
Publishing throttling states
2 – Incoming rate exceeds outgoing rate
12
Counter
Sub counter
BizTalk:Message Agent
Message publishing incoming rate
BizTalk:Message Agent
message publishing outgoing rate
26. august 2012
Bouvet BizTalk Innovation Event - BizTalk Throttling and Thresholds
Publishing throttling states
4 – memory exceeds specified threshold
13
Counter
Sub counter
BizTalk:Message Agent
High process memory
BizTalk:Message Agent
process memory usage (MB)
BizTalk:Message Agent
process memory usage threshold (MB)
26. august 2012
Bouvet BizTalk Innovation Event - BizTalk Throttling and Thresholds
Publishing throttling states
5- System memory exceeds threshold
14
Counter
Sub counter
BizTalk:Message Agent
Physical memory usage threshold (MB)
BizTalk:Message Agent
Physical memory usage (MB)
26. august 2012
Bouvet BizTalk Innovation Event - BizTalk Throttling and Thresholds
Publishing throttling states
6 – Host message size
Counter
Sub counter
BizTalk:Message Agent
database size
BizTalk:MessageBox : General Counters
Spool size
Tracking data size
BizTalk: MessageBox : Host Counters
Host queue length
Host queue suspend message length
15
26. august 2012
Bouvet BizTalk Innovation Event - BizTalk Throttling and Thresholds
Publishing throttling states
8 – Database session exceeds threshold
16
Counter
Sub counter
BizTalk:Message Agent
Database session
26. august 2012
Bouvet BizTalk Innovation Event - BizTalk Throttling and Thresholds
Publishing throttling states
9 – Process count exceeds threshold
17
Counter
Sub counter
BizTalk:Message Agent
Thread count
BizTalk:Message Agent
Thread count threshold
26. august 2012
Bouvet BizTalk Innovation Event - BizTalk Throttling and Thresholds
Delivery throttling states
1 – Incoming rate exceeds outgoing rate
18
Counter
Sub counter
BizTalk:Message Agent
Message publishing incoming rate
BizTalk:Message Agent
message publishing outgoing rate
26. august 2012
Bouvet BizTalk Innovation Event - BizTalk Throttling and Thresholds
Delivery throttling states
3 – in-process delivery exceeds threshold
19
Counter
Sub counter
BizTalk:Message Agent
In-process message count
BizTalk:Message Agent
In-process message count threshold
26. august 2012
Bouvet BizTalk Innovation Event - BizTalk Throttling and Thresholds
Delivery throttling states
4 – Process memory exceeds threshold
Counter
Sub counter
BizTalk:Message Agent
High process memory
Process memory usage (MB)
Process memory usage threshold (MB)
Active instance count
In-process message count
20
26. august 2012
Bouvet BizTalk Innovation Event - BizTalk Throttling and Thresholds
Delivery throttling states
5 - System memory exceeds threshold
21
Counter
Sub counter
BizTalk:Message Agent
Physical memory usage
26. august 2012
Bouvet BizTalk Innovation Event - BizTalk Throttling and Thresholds
Delivery throttling states
9 -Process thread count exceeds threshold
Counter
Sub counter
BizTalk:Message Agent
Thread count
Thread count threshold
22
26. august 2012
Bouvet BizTalk Innovation Event - BizTalk Throttling and Thresholds