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

Top 5 .NET Challenges, Performance Monitoring Tips & Tricks

Embed Size (px)

Citation preview

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

Our Presenters

Meera Viswanathan

.NET R&D

Anand Akela

Director, Product Marketing

Agenda

• Top .Net Performance Challenges

• Performance Monitoring Tips & Tricks

• Application-centric Unified Monitoring

• Q&A

Copyright © 2015 AppDynamics. All rights reserved. 3

TOP .NET PERFORMANCE CHALLANGES

Common Performance Bottlenecks in .NET

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

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

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

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

Underlying Infrastructure Issues

• Problem:– Complex architecture

that can influence

performance

• Solution:– Better visibility and

understanding

Copyright © 2015 AppDynamics. All rights reserved. 9

PERFORMANCE TIPS AND TRICKS

AppDynamics Monitoring

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

• 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

Snapshot Tuning

Copyright © 2015 AppDynamics. All rights reserved. 13

• Visibility into code across tiers

• Configurable snapshot

collection policy

• Displays exit calls

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

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

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

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”

UNIFIED MONITORING

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

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

Q & A

Start your free trial today!

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

Thank You