Inefficient Database Access, Inefficien Pool usage and Sizing, Bad Synchronization, Bad Web Page Design - these are the problems that crash .NET Apps. Learn how to analyze them and fix these problems
%in kempton park+277-882-255-28 abortion pills for sale in kempton park
Four Practices to Fix Your Top .NET Performance Problems
1. @Dynatrace
- Get Dynatrace: http://bit.ly/dtpersonal
- More YouTube Tutorials: http://bit.ly/dttutorials
Hosted by: Andreas Grabner (@grabnerandi & agrabner@dynatrace.com)
Ask questions using the Questions Tab – or post on answers.dynatrace.com
Four Practices for Fixing
Your Top .NET Performance
Problems
2. @Dynatrace
• Top Problems I’ve seen in the years thanks to http://bit.ly/sharepurepath
• How to
• Instrument ASP.NET, IIS and Common Mistakes
• Process Performance Analysis:
• CPU, Memory & Thread Hotspots
• Monitoring through Windows Performance Counters
• Application Performance Analysis
• Error, Exception and Log Analysis
• Database Hotspots: SQL + Bind Values, Connection Pool Information
• Method Hotspots, Synchronous vs Asynchronous Executions
• Monitoring Thread Pools and Other Queues using JMX
• Live Q&A
Agenda for Today
12. Online Banking: Slow Balance Check
1.69m (=101s!) To
Check Balance!
87% spent in IIS 600! SQL Executions
13. #1 Time really spent in IIS?
Tip: Elapsed Time tells us WHEN a
Method was executed!
Finding: Thread 32 in IIS waited 87s to
pass control to Thread 30 in ASP.NET
Tip: Thread# gives us insight on
Thread Queues / Switches
14. #2 What about these SQL Executions?
Finding: EVERY SQL
statement is executed on
ITS OWN Connection!
Tip: Look at
“GetConnection”
15. #2 SQL Executions! continued …
#1: Same SQL is executed 67! times
#2: NO PREPARATION
because everything
executed on new
Connection
20. Load vs. Memory vs Response Time vs. Threads
Increasing Memory
Avg Response Time:
Increases over Time
Max Response Time
correlates with # Threads
Max Response Time
correlates with # Threads
Load: System can’t handle
constant load over time
# of Worker Threads
increase with constant load
Layer Breakdown:
Performance Problem is in
their own code (Sync Time)
22. Excessive File Attribute Access second hotspot
Can FileExist check
be cached to reduce
File Access?
File Access next hotspots
23. #1: # of Threads vs #
Incoming Requests
#2: Time Spent in Sync
#3: Time Spent in I/O
24.
25. @Dynatrace
• Get Dynatrace Personal License: http://bit.ly/dtpersonal
• Download and Install from: http://bit.ly/dttrial
• Watch the YouTube Tutorials: http://bit.ly/dttutorials
• 2 Steps for Instrumenting .NET and IIS Agent
• .NET Agent Configuration Tool to configure ASP.NET AppPool
• Load Dynatrace IIS Web Server Agent Module
• GO! Launch Your App! Analyze Results!
Instrumenting ASP.NET & IIS
26. @Dynatrace
• IIS not restarted after Agent Installation
• IIS only loads AppPool when you access website
• Loading 64bit instead of 32Bit Agent IIS Module
• Firewall or DNS issues to YOURDTCOLLECTOR:9998
• Wrong TIERNAME leading to „Agent didnt match System
Profile“
Most Common Mistakes
29. @Dynatrace
• Meetups and User Groups: We are happy to present!
• Feb 2016: SAP hybris Summit, Chef Seattle, Docker Meetup San Mateo, DT
User Group in Pittsburgh and Cleveland …
• Mar 2016: Zurich (Testing Day + Java Meetup), DevConf South Africa, DT User
Groups in Detroit, Columbus and New York City
• April 2016: STPCon, DT User Group in San Mateo
• YouTube Channel: http://bit.ly/dttutorials
• Dynatrace Personal: http://bit.ly/dtpersonal
• Contact: agrabner@dynatrace.com
• Share Your PurePath: http://bit.ly/sharepurepath
Reminders
30. Participate in our Forum ::
community.dynatrace.com
Like us on Facebook
facebook.com/dynatrace
Follow us on LinkedIn
linkedin.com/company/dynatrace
Connect with us!
Follow us on Twitter
twitter.com/dynatrace
Watch our Videos & Demos
youtube.com/dynatrace
Read our Blog
application-performance-blog.com