Performance Forensics - Understanding Application Performance
- 2. Forensicsforensisadj - "of or before the forum." In Roman times, a criminal charge meant presenting the case before a group of public individuals in the forum. … The individual with the best argument and delivery would determine the outcome of the case.
- 5. A- Response time problem?B - CPU problem?C - Sync problem?D - Database problem?
- 10. 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
- 11. The beauty of measures ... Page Load Time HTTP Request Time95 % Servlet TimeNetworkSnifferBrowserWeb ServerFirewallApplicationServerRequest Time (max)... is that there are so many to choose from
- 12. Types of MeasurementsCyclic MeasurementsAre collected ar regular time intervalsAre time basedJMX, CPU, MemoryEvent-based measurementsAre collected as a request occursAre transactionalResponse Times, CPU consumption
- 15. Typical Measurements we work withMemoryConsumption, GCCPUUsage, Load AverageResponse TimeTransactionsDatabaseStatements, Pool Sizes CommunicationCalls, Latency, Size, Threads
- 17. What is the problem?We have response times of 6 seconds.We have response times of 6 seconds for 95 percent of our users at a load of 500 users with a CPU utilization of 10 percent.
- 24. Make the problem reproducable. Otherwise you cannot check whether you fixed it.
- 30. When a measure supports a problem. Check for all measures affected by the problem.
- 34. Memory and GCState HandlingData VolumeWeb TierDatabaseNumber of RequestsJavaScriptLatencyData VolumeRenderingComm. BehaviorBusiness TierO/R AccessMemory and GCBrowser
- 35. Remoting StackApplication Developers ViewClient ApplicationServer ApplicationStubFacadeSerializationDeserialisationClient InfrastructureServer InfrastructureNetworkingNetworking
- 38. The DB layerApplicationApplication CodeO/RMapping LayerCaching LayerSQLTCP/IPResult SetStatementConnectionConnectionDatabaseConnectionPoolPreparedStatement...PreparedStatement
- 39. Caching in the DB layerCross SessionCacheSession CachesQueryCache(s)Execution PlanCachePrepared StatementCacheDatabasePersistenceFrameworkJDBCLayer
- 43. Caching on the WebServerside Data CacheServer providingCaching InformationCache per ClientServerProxy Cachefor Many ClientsClients
Editor's Notes
- When there is a murder, suspicious fire or hit-and-run accident, police and rescue workers aren't the only ones in on the investigation. Forensic scientists also play an important part. They will take samples collected at the scene and analyze them in a forensics laboratory. With a little ingenuity and some very high-tech equipment, forensic scientists can help law enforcement catch even the wiliest perpetrator.Forensic science is a discipline that applies scientific analysis to the justice system, often to help prove the events of a crime. Forensic scientists analyze and interpret evidence found at the crime scene. That evidence can include blood, saliva, fibers, tire tracks, drugs,alcohol, paint chips and firearm residue.
- http://www.istockphoto.com/stock-photo-13437760-over-a-dead-body.php?st=bc63d6b
- http://www.istockphoto.com/stock-photo-4608404-microscope.php?st=a02af80