9200 – J2EE Performance Tuning How-to by czz18476

VIEWS: 4 PAGES: 19

									9200 – J2EE Performance Tuning How-to
                           Michael J. Rozlog
                        Chief Technical Architect
        Borland Software Corporation – Deployment Products Group




           CONFIDENTIAL INFORMATION CONTAINED WITHIN
                          CONFIDENTIAL INFORMATION
                            PROVIDED UNDER NDA

Agenda

   Introductions √
   Customer Topics? √
   Optimizeit Overview
   Q&A
   Demonstration
   Q&A
                                                                    CONFIDENTIAL INFORMATION
                                                                      PROVIDED UNDER NDA

Introduction


     Role:
             Chief Technical Architect

     Responsibilities:
         Help define the current and future direction of products

     Tenure:
          8 Years with Borland
     Focus:
          Deployment Products Group




  mrozlog@borland.com
                                           CONFIDENTIAL INFORMATION
                                             PROVIDED UNDER NDA

Ground Rules for presentation



   Ask any questions you might have… If I know the
    answer I will tell you!
   Any question is valid!!!
                                                                          CONFIDENTIAL INFORMATION
                                                                            PROVIDED UNDER NDA
Borland Deployment Platform
       ®




                                MANAGEMENT
           Borland® Deployment Op-Center        Borland® ServerTrace
             Deploy, control, monitor, evolve          J2EE Profiling




                                 INTEGRATION
                                    Borland® Janeva™
                     Interoperability between .NET and J2EE/CORBA




                             INFRASTRUCTURE
            Borland® Enterprise Server          Borland® VisiBroker®-RT
                     J2EE, CORBA, and             Embedded CORBA runtime
                     Web services runtime


                  Borland® JDataStore           Borland® Interbase
                         Embedded DataBase          RDBMS
                                     CONFIDENTIAL INFORMATION
                                       PROVIDED UNDER NDA
Best-in-class performance solution


         Speed
         Reliability
         Scalability


         Risk
         Development time
         Cost (software/hardware)
                                          CONFIDENTIAL INFORMATION

Magnitude of the Application Performance “Problem”!
                                            PROVIDED UNDER NDA




 Today:
 75% of new J2EE rollouts use
 more hardware to fix performance
 - Giga
 50% of all deployed applications
 are rolled back – Gartner
 Future..
 At least 80 percent of
 applications put into production
 environment will fail due to poor
 quality issues through 2007 -
 Gartner
                                                                 CONFIDENTIAL INFORMATION
                                                                   PROVIDED UNDER NDA

ADDRESS THE THREE „C‟S


                      Challenge                       Need
 Complexity    Complexity of distributed     Clear insight into exact
               J2EE applications leads       cause and location
               to a higher risk of poor      performance issues
               performance

 Criticality   When the app goes             Address performance
               down, the business goes       throughout the lifecycle
               down


 Cost          Costs are out of control      Resolve issues earlier,
               impacting project viability   minimize delays and
                                             increase productivity
Borland‟s Application Lifecycle Approach                                            CONFIDENTIAL INFORMATION
                                                                                      PROVIDED UNDER NDA
Performance Objectives



  Define               Design              Develop                  Test               Deploy




  Performance        Model performance   Meet code reliability Discover issues     Maintain availability
  requirements       requirements        & perf standards      early - avoid delays - avoid downtime

  Acceptance         Select technology   Shorten develop       Comprehensive,       Scale to meet user
  testing criteria   components          and test cycles       rigorous testing      traffic

  Critical user      Methodology for     Improve application Quick, effective      Deliver fast,
  load thresholds    performance         quality             resolution of issues reliable operations
                     management
                                                                                                                   CONFIDENTIAL INFORMATION
Cost of fixing application performance                                                                               PROVIDED UNDER NDA


defects


                                       70
   Relative Cost to Correct a Defect




                                       60
                                                               Expenses
                                       50                      increase
                                                           exponentially as
                                       40
                                                           defects are found
                                       30                     later in the
                                                                process
                                       20
   in times




                                       10


                                        0
                                            Requirements   Design        Code      Development   Acceptance   Operation /
                                                                                     Testing       Testing    Production

                                        Source: Barry W. Boehm, Software Engineering Economics
                                                                                                                      CONFIDENTIAL INFORMATION
                                                                                                                        PROVIDED UNDER NDA
Focus on the expensive one!


                                          70
                                               •What does it take to reduce this cost?
      Relative Cost to Correct a Defect




                                          60
                                                   •Ability to locate the problem
                                                            Expenses
                                          50                      increase

                                          40
                                                   •Ability to communicate the problem
                                                              exponentially as
                                                              defects are found
                                          30       Equals reduction in MTTR
                                                                 later in the
                                                                   process
                                          20
                                               •Reporting
      in times




                                          10


 •Operation /
 Production
                                           0   •Low overhead
                                               Requirements   Design        Code      Development   Acceptance   Operation /
                                                                                        Testing       Testing    Production

                                               •Quality Assurance
                                           Source: Barry W. Boehm, Software Engineering Economics
                                                            CONFIDENTIAL INFORMATION
                                                              PROVIDED UNDER NDA

Problem space targeted by ServerTrace 3 in Production

                                Alert /        High-level
             Identify           Notify          Problem
             Problem                           Detection
               area



                                                        Problem Diagnosis
   Monitor 24x7                                            Root-cause
                                                           info capture
                                                                            ?
             Validate
         the root-cause   ?                         Store and
           and rollout
            resolution                     ?      correlate (tag)
                                                  root-cause info
                                                                     ?
                              Communicate
                              the root-cause
                                    info

                    J2EE Experts Are pulled
         for Performance Issues Resolution in production
                                                                  CONFIDENTIAL INFORMATION
                                                                    PROVIDED UNDER NDA
ServerTrace 3 – adding critical value in production
Positioning with Traditional Production Monitoring frameworks like HP Open View



                                    Alert /          High-level
                 Identify           Notify            Problem
                 Problem                             Detection
               Traditional Production Monitoring
                   area



                                                               Problem Diagnosis
       Monitor 24x7
                                                                  Root-cause
                                                                  info capture



                Validate
            the root-cause
                             ServerTrace 3                 Store and
              and rollout                                correlate (tag)
               resolution                                root-cause info
                                  Communicate
                                  the root-cause
                                        info
                                                                         CONFIDENTIAL INFORMATION
                                                                           PROVIDED UNDER NDA
Optimizeit ServerTrace 3
Two Editions
Pre-production




                 ServerTrace 3, Test Edition
                  In QA lab, Performance lab
                  Use during System integration QA testing
                  Use during Load testing for application scalability
Production




                 ServerTrace 3, Production Edition
                  On Production floor
                  Use during Production monitoring of J2EE applications
                  Use 24x7 to capture root-cause application performance
                   diagnostics
                          Consistent usage and value from development through production
                                 CONFIDENTIAL INFORMATION
                                   PROVIDED UNDER NDA

Request Analyzer / ServerTrace
                                                                    CONFIDENTIAL INFORMATION
                                                                      PROVIDED UNDER NDA

Distribution of problem information

                  Communication of the Problem and the Context
                                                     ServerTrace
                                                        Test
                   Request
                   Analyzer
                                                                   ServerTrace
                                                                   Production
                                                      QA



              Development
                                                                   Production


                                              Load Testing
                                                     ServerTrace
                                                        Test
   Full system Snapshot (contains Problem Context)
                                                  CONFIDENTIAL INFORMATION
                                                    PROVIDED UNDER NDA

Impact on Quality

Metrics Impacted                What are our customer‟s
      Application performance   saying?
      MTTR                         We improved our application
      Duration of an outage         performance by 300%
      # of outages                 We reduced their mean-
                                     time-to-resolution by 50%-
                                     90%
                                    We reduced the % of defects
                                     entering QA by 90%
                                                                              CONFIDENTIAL INFORMATION
                                                                                PROVIDED UNDER NDA

Borland’s Optimizeit Performance Management Solutions
Which Optimizeit Tools To Use Where?




            Optimizeit Suite
                                                              ServerTrace 3
       Optimizeit Enterprise Suite
       Optimizeit Enterprise Suite
       Optimizeit Profiler for .NET




                                             QA TESTING         PRE-          PRODUCTION
             CODING         UNIT TESTING      SYSTEM        DEPLOYMENT        MONITORING
                                            INTEGRATION     LOAD TESTING      MAINTENACE




               DEVELOPER                   QA / PERFORMANCE TESTERS        OPERATIONS
                                             CONFIDENTIAL INFORMATION
                                               PROVIDED UNDER NDA

Summary

 ServerTrace gives detailed information on the current
  runtime environment
 ServerTrace help improve communications by using total
  systems snapshots
 Progress can be taken and tracked to ensure
  applications are on the right track
 ServerTrace works hand in hand with developers and
  testers, which reduces communication bottlenecks
 Quick issues can be spotted “instantly” with Quality
  Analyzer
 Low overhead of resources

								
To top