This fourth chapter, "instantaneous response: the high-performance architecture of the website" Content overview and reading experience write.
Website performance is an objective indicator, can reflect the response time, throughput and other technical indicators, but also subjective feelings, user experience and engineers feel different.
Performance testing is a prerequisite and basis for performance optimization, as well as an inspection and measurement of performance optimization results. Web site performance is different from different perspectives, and the perspective of users, developers, and operations personnel is different. From the perspective of development and testers, the main metrics of site performance testing are response time, concurrency, throughput, and performance counters.
Performance optimization is divided into web front-end performance optimization, Application server performance optimization, Storage server performance optimization. Browser access optimizations can reduce HTTP requests, use browser caching, enable compression, CSS on top of the page, JS on the bottom of the page, and reduce cookie transfers. Application server performance optimizations can use distributed caching, asynchronous operations, using clustering, and code optimization. Storage performance optimization includes HDD optimization, algorithm selection, and technology optimization. When the SSD drive matures, it gradually replaces the mechanical hard drive.
Through the reading of this chapter, for the high-performance architecture of the site to understand, in programming can not just stand in the developer's perspective to understand high performance, but also to stand in the user's perspective, and put the user perspective in the important position, after all, the site is for the user Service.
"Large Web site Technology architecture: Core Principles and Case studies" read Note four