240 likes | 416 Views
Application Performance Monitoring of a scalable Java web- application in a cloud infrastructure. Final Presentation August 5, 2013. Agenda. Application Performance Monitoring APM for Tricia Evaluation Further Work Summary. Application Performance Monitoring (APM).
E N D
Application Performance Monitoring of a scalable Java web-application in a cloudinfrastructure Final Presentation August 5, 2013
Agenda • Application Performance Monitoring • APM forTricia • Evaluation • Further Work • Summary
Application Performance Monitoring (APM) „Monitoring istheprocessofmaintainingsurveillanceovertheexistenceandmagnitudeofstatechangeanddataflow in a system.“ 1 • How fast ismyapplication? • ... Iftheapplicationis not fast ... • Whenisitslow? everytime, on a certain time oftheday, ... • Whatisslow? everything, a certain type ofoperation, a singlerequest, ... • Whyisitslow? bug in theapplication, insufficientresources, wrongconfiguration ,... Solvetheproblem
APM - Stakeholders • Customers • improvetheirbusiness • application must beavailableandusable • CloudOperations • Isthereneedforaction? (moreresources, moreservers, ...) • requireapplication-level information • standardizedinterface • Developers • Are thereany Problems? • If so: • Whatarethey? • Howcantheybesolved?
APM – Key Metrics • Overall response time • Handler duration • Database operationexecution time • Elasticsearchoperationexecution time • Requests per Minute • Database operations per Minute • Elasticsearchoperations per Minute • System Load • ProcessLoad • Memory Consumption
APM – Meansof Evaluation Checkingforproblems Performance Snapshot • createdat a regularinterval (e.g. 2 hours) • detailedinformationfor all monitors in thesystem • useasindicators maximumexecution time
APM – Meansof Evaluation Verifyinga Problem GraphicalVisualization • create time series • seeif just a singularevent • detectdependencies
APM – Meansof Evaluation Tracking a Problem Performance Trace • created in caseof a problem • gatherallmonitorsused in theexecutedoperation • printdetailedinformation Find themonitorresponsiblefortheslowdown
APM for Tricia • Existing Solutions / Libraries • New Relic • Kieker • Java Simon • RRDTool • Existing Standards • Java Management Extensions (JMX) • Nagios • collectd, ganglia, ...
APM for Tricia - Architecture Tricia Monitoring Tool • Performance Snapshots • Performance Traces • GraphicalVisualization • Detection • Tracking • Detection • Verification
Evaluation – Problem • Customers reportedslowperformance • Specifictaskstookaround10 secondstocomplete • Creationof a workpace • Problem was reproducable
Evaluation – Checkingfor a problem • Look atPerformance Snapshots
Evaluation – Verification • Graphicalvisualization
Evaluation – Tracking Down • Performslowrequest • AnalyzePerformance Trace
Evaluation – Tracking Down • Commit operationperformedby a singlemethod • Methodisbasic ES librarycall • Implementation accordingtodocumentation • Research on theinternetproducednoresults • Onlyenvironmentwiththisproblem
Evaluation – Results • Low-level analysisrevealedslowfiledeletion • Nobug in Tricia • Issuecausedbytargetinfrastructure • Provider was notified, working on solution
Further Work • Higher degreeofautomatization • Extractdatafrom log files • Aerts & Notifications • Even moredata via JMX • Performance Snapshots • Performance Trace
Summary • Identificationofkeymetrics • Examinationofexistingsolutions & standards • Successfullyemployed APM in Tricia • Evaluation ofdevelopedsolution • How-Toforusingthesolution
Thankyouforyourattention. Michael Rose