• Save
Managing Java Applications
Upcoming SlideShare
Loading in...5
×
 

Managing Java Applications

on

  • 771 views

In this presentation we are focusing on how a Java Application is monitored properly, which data are performance relevant, how you interpret them correctly and how you detect problems and optimization ...

In this presentation we are focusing on how a Java Application is monitored properly, which data are performance relevant, how you interpret them correctly and how you detect problems and optimization potential.

Statistics

Views

Total Views
771
Views on SlideShare
771
Embed Views
0

Actions

Likes
2
Downloads
0
Comments
0

0 Embeds 0

No embeds

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment
  • Cars.com … prep for superbowl

Managing Java Applications Managing Java Applications Presentation Transcript

  • Managing Java Applications@AloisReitbauer
  • 3
  • DevOpsto the rescue?
  • Don’t just buildsoftware that runs
  • Build software thatsomebody else can run
  • What is performance and how do we measure it?
  • How we define Performance• Response Time The time it takes for an application to respond to a user request.• Throughput The amount of concurrently processed request in a given time period. e.g.: requests/minute.• Availability Status of our systems. Are they up and running for us and our users?• Accuracy Is the response what the user actually expected? Are there any errors
  • Performance Pyramid Business Application Container System Performance
  • Types of Measurement • Cyclic Measurements – Are collected ar regular time intervals – Are time based – JMX, CPU, Memory • Event-based measurements – Are collected as a request occurs – Are transactional – Response Times, CPU consumption
  • Blind Men andElephants again
  • How can this happen?A: Our response time is 2.3 secondsB: Our response time is 1.5 secondsC: Our response time is 6 seconds
  • Measurement Aggregation• Minimum and Maximum The best and the worst request. Beware of outliers.• Average Sum/Count. Uses in many cases. Quality depends on actual values.• Median What 50 percent of our users see.• Percentile What n percent of our users see.
  • Use percentiles for event-based measures
  • Use averages forcyclical measures
  • Agree on Measurement Approach Page Load Time HTTP Request Time 95 % Servlet Time Network Browser Firewall Sniffer Web Server Application Server Request Time (max)
  • System and Container Metrics
  • Time-Based vs. Event-Based Measurement
  • Transactional Measurement
  • Transaction Flow Visualization
  • Focus on a specific transaction
  • Visual Problem Identification
  • How do we manage performance and solve problems?
  • Types of Problems • Data-Driven Problems Problems which occur for specific users, scenarios and which depend on (input) parameters e.g.: a search query • Load Driven Problems Problems which depend on the current system load. Usually occur at higher load. In most cases resource dependent. e.g.: increased response time with more users. • Environment Driven Problems Problems caused by factors outside the application. e.g.: hardware, network connectivity, etc.
  • Operations Main Tasks• Monitoring Collect all relevant KPIs and check against SLAs and baselines?• Alerting/Incident Management Inform ops about problems• Impact Analysis Analyze the impact of issues. Who is affected?• Isolation What is the cause of a problem and who must I talk to?• Diagnosis Why is there a problem and how can we fix it?
  • Key Performance Indicators/Metrics• Visitors and Requests How many people are using our site?• Response Times How fast do we service requests.?• Errors and Failed Transactions How many problems do we see and how often do they affect functionality?• Availability Can our systems currently be reached?• Utilization Metrics Do we have enough resources and are we using them efficiently?
  • … and in the real world?
  • Large-scale shopping platform
  • Performance Pyramid Business Application Container System Performance
  • System/Container Performance
  • Technical Response Time View
  • Page Category Performance
  • Performance of Key Transactions
  • Business View wit Performance Data
  • You can do evenmore (aka. Goodies)
  • Page Error Tracking
  • Third Party Management
  • Amazon EC2 Cost Monitoring
  • Alois Reitbauer @AloisReitbauerhttp://book.dynatrace.com http://blog.dynatrace.com
  • 41 © 2011 Compuware Corporation — All Rights Reserved