Web Application Performance
Transcription
Web Application Performance
COMP9321 Web Application Engineering Web Application Performance Dr. Basem Suleiman Service Oriented Computing Group, CSE, UNSW Australia Semester 1, 2016, Week 9 http://webapps.cse.unsw.edu.au/webcms2/course/index.php?cid=2442 COMP9321, 16s1, Week 9 1 Acknowledgement/Contributions Service Oriented Computing Group, CSE, UNSW Australia • Dr. Helen Paik • Prof. Boualem Bentallah • Dr. Srikumar Venugopal • Dr. Moshe Chai Barukh • Dr. Amin Beheshti • Dr. Basem Suleiman • Many others from service oriented computing group COMP9321, 16s1, Week 3 2 Performance COMP9321, 16s1, Week 9 3 Performance COMP9321, 16s1, Week 9 4 Performance COMP9321, 16s1, Week 9 5 Performance COMP9321, 16s1, Week 9 6 Performance COMP9321, 16s1, Week 9 7 Scalability COMP9321, 16s1, Week 9 8 Scalability COMP9321, 16s1, Week 9 9 Scalability COMP9321, 16s1, Week 9 10 Why does performance and scalability matter ? COMP9321, 16s1, Week 9 11 Why does performance and scalability matter ? COMP9321, 16s1, Week 9 12 Why does performance and scalability matter ? COMP9321, 16s1, Week 9 13 Why does performance and scalability matter ? COMP9321, 16s1, Week 9 14 Why does performance and scalability matter ? COMP9321, 16s1, Week 9 15 Why does performance and scalability matter ? COMP9321, 16s1, Week 9 16 Performance Analysis and Evaluation COMP9321, 16s1, Week 9 17 Performance Analysis and Evaluation COMP9321, 16s1, Week 9 18 Performance Analysis and Evaluation COMP9321, 16s1, Week 9 19 Defining goals COMP9321, 16s1, Week 9 20 Defining goals COMP9321, 16s1, Week 9 21 Performance Metrics COMP9321, 16s1, Week 9 22 Performance Metrics RTT COMP9321, 16s1, Week 9 23 Performance Metrics COMP9321, 16s1, Week 9 24 Performance Metrics • Thrashing is an unstable collapse of throughput of a system as the load is increased. COMP9321, 16s1, Week 9 • After we reach max throughput, we have reached the throughput plateau... • e.g. plateau can be considered as the point where the throughput really falls off … 25 Performance Metrics COMP9321, 16s1, Week 9 26 Performance Metrics COMP9321, 16s1, Week 9 27 Performance Metrics COMP9321, 16s1, Week 9 28 Performance Metrics COMP9321, 16s1, Week 9 29 Modelling COMP9321, 16s1, Week 9 30 Performance Modelling COMP9321, 16s1, Week 9 31 Performance Modelling COMP9321, 16s1, Week 9 32 Performance Modelling – Queueing COMP9321, 16s1, Week 9 33 Modelling Requests COMP9321, 16s1, Week 9 34 Modelling Requests COMP9321, 16s1, Week 9 35 Modelling Requests COMP9321, 16s1, Week 9 36 Modelling Requests COMP9321, 16s1, Week 9 37 Modelling Requests COMP9321, 16s1, Week 9 38 Modelling Requests A power law is a relationship in which a relative change in one quantity gives rise to a proportional relative change in the other quantity, independent of the initial size of those quantities. COMP9321, 16s1, Week 9 39 Modelling Requests COMP9321, 16s1, Week 9 40 Modelling Requests Sysperfinfo is a tabular view of the performance counters. E.g. you can access SQL Server related performance counter values through the system table sysperfinfo… COMP9321, 16s1, Week 9 Nagios monitors your entire IT infrastructure to ensure systems, applications, services, and business processes are functioning properly. https://www.nagios.org/ 41 Modelling Requests COMP9321, 16s1, Week 9 42 Modelling Requests Consider your Hotel Booking Web application – different types of requests COMP9321, 16s1, Week 9 43 Modelling Requests Consider your Hotel Booking Web application – different types of requests COMP9321, 16s1, Week 9 44 Modelling Requests COMP9321, 16s1, Week 9 45 Modelling Requests COMP9321, 16s1, Week 9 46 Modelling Resources COMP9321, 16s1, Week 9 47 Modelling Resources COMP9321, 16s1, Week 9 48 Using Modelling for Performance Analysis COMP9321, 16s1, Week 9 49 Using Modelling for Performance Analysis COMP9321, 16s1, Week 9 50 Using Modelling for Performance Analysis COMP9321, 16s1, Week 9 51 Performance Testing COMP9321, 16s1, Week 9 52 Performance Testing COMP9321, 16s1, Week 9 53 Performance Testing COMP9321, 16s1, Week 9 54 Performance Testing COMP9321, 16s1, Week 9 55 Operational Analysis COMP9321, 16s1, Week 9 56 Operational Analysis COMP9321, 16s1, Week 9 57 Operational Analysis COMP9321, 16s1, Week 9 58 Operational Analysis COMP9321, 16s1, Week 9 59 Operational Laws COMP9321, 16s1, Week 9 60 Operational Laws COMP9321, 16s1, Week 9 61 Operational Laws COMP9321, 16s1, Week 9 62 Operational Laws COMP9321, 16s1, Week 9 63 Operational Laws COMP9321, 16s1, Week 9 64 Operational Laws COMP9321, 16s1, Week 9 65 Operational Laws COMP9321, 16s1, Week 9 66 Operational Laws COMP9321, 16s1, Week 9 67 Operational Laws COMP9321, 16s1, Week 9 68 Operational Laws COMP9321, 16s1, Week 9 69 Operational Laws COMP9321, 16s1, Week 9 70 Operational Laws COMP9321, 16s1, Week 9 71 Operational Laws Xi = Vi x X0 COMP9321, 16s1, Week 9 72 Operational Laws COMP9321, 16s1, Week 9 73 Operational Laws COMP9321, 16s1, Week 9 74 Operational Laws COMP9321, 16s1, Week 9 75 Operational Laws COMP9321, 16s1, Week 9 76 Operational Laws COMP9321, 16s1, Week 9 77 Operational Laws COMP9321, 16s1, Week 9 78 Bottleneck Analysis COMP9321, 16s1, Week 9 79 Bottleneck Analysis COMP9321, 16s1, Week 9 80 Bottleneck Analysis COMP9321, 16s1, Week 9 81 A few statistical quantities The quartiles of a ranked set of data values are the three points that divide the data set into four equal groups, each group comprising a quarter of the data COMP9321, 16s1, Week 9 82 References • Performance by Design: Computer Capacity Planning by Example by D. Menasce, V.A.F. Almeida, L. Dowdy, Prentice Hall • The Art of Computer System Performance Analysis by Raj Jain, Wiley Press • Performance Testing Guidance for Web Applications: Patterns & Practice by Meier, et. al, Microsoft Corporation COMP9321, 16s1, Week 9 83 COMP9321, 16s1, Week 9 84