top 10 application problems

18
Top Ten Application Problems Hugh P. Brien Principle Sales Engineer

Upload: appdynamics

Post on 07-Aug-2015

847 views

Category:

Software


3 download

TRANSCRIPT

Page 1: Top 10 Application Problems

Top Ten Application Problems Hugh P. Brien Principle Sales Engineer

Page 2: Top 10 Application Problems

Everything is a Thread• No Matter What the Platform everything is about

THREAD• Java Threads• CLR Threads• PHP Threads• NodeJS Threads – Single Thread• Python Thread – Single Thread (I think)

Page 3: Top 10 Application Problems

Top Ten Problems• Full disclosure, this list is not scientific, it’s just based

upon experience dealing with customers trying to solve application issues.

Page 4: Top 10 Application Problems

Configuration • The wrong Thread Pool or Connection Pool Settings.•  Not providing enough threads to match large load can c

ause serious blocking issues and create bottlenecks.

Page 5: Top 10 Application Problems

Memory Management •  Improper Memory Configuration for the Code Size and T

ransaction Volume. • Improper memory settings can cause excessive garbage

 collection and REMEMBER, in Java, a “Full Garbage Collection” means ALL THREADS STOP.

Page 6: Top 10 Application Problems

Web Services – • SOAP based web services have more overall overhead 

when compared to REST based web services. • Did you know know that a simple SOAP web service call 

that returns a temperature or a zip code requires 1 or 2KB of packaging data? Like shipping a watch in a big box full of foam peanuts. Unnecessary overhead.

Page 7: Top 10 Application Problems

Object Relational Mapping•  We are really talking about Java and Hibernate Abuse

Page 8: Top 10 Application Problems

Application Code• Poorly written code. Make ALL of your developers read 

Code Complete by Steve McConnell and Implement Unit Testing. Both can great improve the quality of their code.

Page 9: Top 10 Application Problems

Input/Output Bottlenecks• Storage and network bottlenecks – Ensure your disks

are configured for sufficient IO. • You need to make sure you have sufficient I/O

configurations, especially in virtual machine and complex environments.

Page 10: Top 10 Application Problems

Logging In DEBUG mode • After your major load test, did you leave your logging

solution in DEBUG mode? • This can create a huge bottleneck that correlates directly

with load. • However, this problem is pretty sneaky and you won’t

discover this issues unless you run a major load test.

Page 11: Top 10 Application Problems

Request Overload•  We have too many inbound requests coming in and not 

enough resources to handle the load — simply a bandwidth issue.

Page 12: Top 10 Application Problems

Database•  It’s probably not the database. • Oracle DBA’s typically run a fast databases. SQL Server 

implementations are typically less tuned for performance.

Page 13: Top 10 Application Problems

Database • It’s probably the database, • Bad index or just a bad query. Could also be a developer

 writing a query inside a query. (See Above)

Page 14: Top 10 Application Problems

Database • It’s probably the database, • Bad index or just a bad query. Could also be a developer

 writing a query inside a query. (See Above)

Page 15: Top 10 Application Problems

Database • It’s probably the database, • Bad index or just a bad query. • Could also be a developer writing a query inside a query.

 

Page 16: Top 10 Application Problems

Database • It’s probably the database, • Bad index or just a bad query. • Could also be a developer writing a query inside a query.

 (See Above)

Page 17: Top 10 Application Problems

Conclusion• Remember This Is Not Always a Mystery

Page 18: Top 10 Application Problems

Thank You