tailieunhanh - Practical mod_perl-CHAPTER 7:Identifying Your Performance Problems

Tham khảo tài liệu 'practical mod_perl-chapter 7:identifying your performance problems', công nghệ thông tin, kỹ thuật lập trình phục vụ nhu cầu học tập, nghiên cứu và làm việc hiệu quả | Page 307 Thursday November 18 2004 12 39 PM CHAPTER 7 Identifying Your Performance Problems You have been assigned to improve the performance of your company s web service. The hardest thing is to get started. How should you tackle this task And how do you sort out the insignificant issues and identify those that will make a difference once resolved In this chapter we look at this problem from different angles. Only after you understand the problem should you start looking for solutions. Don t search for a solution before the problem has been precisely identified or you ll end up wasting a lot of time concentrating on trivial issues. Instead try to identify where you can make the biggest difference in performance. Note that in this book we use the term web service to mean the whole aggregate that provides the service the machine the network and the software. Don t confuse this with web services such as SOAP and XML-RPC. Looking at the Big Picture To make the user s web-browsing experience as painless as possible every effort must be made to wring the last drop of performance from the server. Many factors affect web site usability but one of the most important is speed. This applies to any web server not just Apache. How do we measure the speed of a server Since the user and not the computer is the one that interacts with the web site one good speed measurement is the time that elapses between the moment the user clicks on a link or presses a Submit button and the time when the resulting page is fully rendered in his browser. The requests and resulting responses are broken into packets. Each packet has to make its own way from one machine to another perhaps passing through many interconnection nodes. We must measure the time starting from when the request s first packet leaves our user s machine to when the reply s last packet arrives back there. 307 Page 308 Thursday November 18 2004 12 39 PM A request may be made up of several packets and a

TỪ KHÓA LIÊN QUAN
crossorigin="anonymous">
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.