Top Banner
Top 5 .NET Challenges, Performance Monitoring Tips & Tricks Meera Viswanathan (.NET R&D), Anand Akela (Director, Product Marketing)
24

Top 5 .NET Challenges, Performance Monitoring Tips & Tricks

Jan 22, 2018

Download

Software

AppDynamics
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Top 5 .NET Challenges, Performance Monitoring Tips & Tricks

Top 5 .NET Challenges, Performance Monitoring Tips & Tricks Meera Viswanathan (.NET R&D), Anand Akela (Director, Product Marketing)

Page 2: Top 5 .NET Challenges, Performance Monitoring Tips & Tricks

Our Presenters

Meera Viswanathan

.NET R&D

Anand Akela

Director, Product Marketing

Page 3: Top 5 .NET Challenges, Performance Monitoring Tips & Tricks

Agenda

• Top .Net Performance Challenges

• Performance Monitoring Tips & Tricks

• Application-centric Unified Monitoring

• Q&A

Copyright © 2015 AppDynamics. All rights reserved. 3

Page 4: Top 5 .NET Challenges, Performance Monitoring Tips & Tricks

TOP .NET PERFORMANCE CHALLANGES

Common Performance Bottlenecks in .NET

Page 5: Top 5 .NET Challenges, Performance Monitoring Tips & Tricks

Synchronization and Locking

• Problem:

– Contention for the same

resource in a heavily multi

threaded environments

• Solution:– Closely examine the code you

are synchronizing to determine if

another option is viable

– Limit the scope of your

synchronized block

Copyright © 2015 AppDynamics. All rights reserved. 5

Page 6: Top 5 .NET Challenges, Performance Monitoring Tips & Tricks

Excessive and Unnecessary Logging

• Problem:

– Duplicate exception logs across

several tiers

– Excessive logging of debug/info

log levels

• Solution:– Reduce logging to

Fatal/Error/Warning in production

environments

– Log exceptions in the final tier

Copyright © 2015 AppDynamics. All rights reserved. 6

Page 7: Top 5 .NET Challenges, Performance Monitoring Tips & Tricks

Code Dependencies

• Problem:– Reliability of external libraries

– Performance of external libraries

• Solution:– Is the library truly well written and well tested?

– Are you using the library in the same manner as the large

number of companies that are using it?

– Are you using it correctly?

Copyright © 2015 AppDynamics. All rights reserved. 7

Page 8: Top 5 .NET Challenges, Performance Monitoring Tips & Tricks

Underlying Database Issues

• Problem:– Business logic in the Database layer vs. the application layer

– Time spent on inefficient queries and data models

• Solution

– Improve SQL queries

– Improve Data Model

– Optimize business logic between the data and application layer

Copyright © 2015 AppDynamics. All rights reserved. 8

Page 9: Top 5 .NET Challenges, Performance Monitoring Tips & Tricks

Underlying Infrastructure Issues

• Problem:– Complex architecture

that can influence

performance

• Solution:– Better visibility and

understanding

Copyright © 2015 AppDynamics. All rights reserved. 9

Page 10: Top 5 .NET Challenges, Performance Monitoring Tips & Tricks

PERFORMANCE TIPS AND TRICKS

AppDynamics Monitoring

Page 11: Top 5 .NET Challenges, Performance Monitoring Tips & Tricks

Business Transaction Optimization

Copyright © 2015 AppDynamics. All rights reserved. 11

• Name and identify business

transactions to match your

business functions

• Exclude business transactions

that don’t add value to visibility

• Configurable on query

parameters, URI paths and

payloads

Page 12: Top 5 .NET Challenges, Performance Monitoring Tips & Tricks

• Detects calls across different

components

• Identifies HTTP, ADO.NET,

MSMQ OOTB

• Customizable for other exit calls

Tier Management

Copyright © 2015 AppDynamics. All rights reserved. 12

Page 13: Top 5 .NET Challenges, Performance Monitoring Tips & Tricks

Snapshot Tuning

Copyright © 2015 AppDynamics. All rights reserved. 13

• Visibility into code across tiers

• Configurable snapshot

collection policy

• Displays exit calls

Page 14: Top 5 .NET Challenges, Performance Monitoring Tips & Tricks

Machine Snapshots

Copyright © 2015 AppDynamics. All rights reserved. 14

• Snapshot of machine state– CPU/Memory of running processes

– IIS Application Pools

– Transaction snapshots in that window

• Collected:– Every ten minutes

– Every six occurrences of:

• CPU and memory at 80% or

higher

• IIS application pool queue item

older than 100 milliseconds

• Configurable for more frequent

snapshots

Page 15: Top 5 .NET Challenges, Performance Monitoring Tips & Tricks

Threshold Tuning

Copyright © 2015 AppDynamics. All rights reserved. 15

• Thresholds control when

alerts are raised and when

snapshots are triggered

• Three types of thresholds:

– Static SLA

– Standard Deviation

– Percentage

Page 16: Top 5 .NET Challenges, Performance Monitoring Tips & Tricks

Real World Impact of Silo-ed Monitoring

77%issues require 5+ people-hour

to resolve

65%enterprises have 10+ monitoring

tools.

0%

1%

13%

21%

22%

15%

9%

6%

3%

10%

0% 5% 10% 15% 20% 25%

0

1

2-5

6-10

11-25

26-40

41-50

50-75

76-100

More than 100

Q: how many enterprise monitoring/mgmt products would you estimate your IT org owns?*

33%issues are reported by end users

* Survey response from 302 IT professionals

conducted by EMA

Page 17: Top 5 .NET Challenges, Performance Monitoring Tips & Tricks

Today’s Monitoring: Many Silo-ed Tools

Mobile/Web App Middleware Database Server Network Storage

Che

cko

ut T

ran

sa

ctio

n

??

“Network 97%”“Slow SQL query”“JVM perf issues”“Checkout is slow”

Page 18: Top 5 .NET Challenges, Performance Monitoring Tips & Tricks

UNIFIED MONITORING

Page 19: Top 5 .NET Challenges, Performance Monitoring Tips & Tricks

AppDynamics Unified MonitoringOne Solution : One UI, One Data Platform, One Install

Copyright © 2015 AppDynamics. All rights reserved. 19

Industry-first, application-centric Unified Monitoring platform

Page 20: Top 5 .NET Challenges, Performance Monitoring Tips & Tricks

AppDynamics Unified Monitoring System

Copyright © 2015 AppDynamics. All rights reserved. 20

Business transaction-

centric management

• Automatically trace end-user client – App – DB – API – Infrastructure

• Support for synchronous & asynchronous transactions

Role-relevant

views for quick

troubleshooting

• Business Transaction driven Situational awareness views and reports

• Facilitates DevOps collaboration and automation

ONE unified platform• One UI, one data Platform, one install, one solution

• Flexible deployment options, easy to implement, and simple to use

Comprehensive

app infrastructure

support

• Support for End-user clients, Application Code, Message Queues, Web Services/API, Databases,

Infrastructure

• Extensible platform to support additional infrastructure

Page 21: Top 5 .NET Challenges, Performance Monitoring Tips & Tricks

Q & A

Page 22: Top 5 .NET Challenges, Performance Monitoring Tips & Tricks

Start your free trial today!

Page 23: Top 5 .NET Challenges, Performance Monitoring Tips & Tricks

Join us in Vegas for our annual user conference,

AppSphere!

- Free training for all attendees

- Exclusive access to AppDynamics executives and engineers

- A sneak peek at our roadmap and announcements about new features

- Keynotes from industry innovators

- Information-packed breakout sessions from users in the trenches

- Peer-to-peer networking

• Learn more and register now at AppDynamics.com/AppSphere

Page 24: Top 5 .NET Challenges, Performance Monitoring Tips & Tricks

Thank You