Design and Implementation of Front-end Modules in Web Acceleration System
- Author
- LiLei
- Advisor
- HanZhen
- School
- Beijing Jiaotong University
- Major
- Information Security
- Classification
- TP311.52 Software Development
- Degree
- Master's thesis
- Year
- 2009
- Downloads
- 79
- Citations
- 2
Abstract
With the rapid development of the Internet, the access speed is also becoming increasingly prominent. Web application is an important application on the Internet, it has more than the amount of information, heavy load, and account for a large proportion of Internet traffic, but also the most widely used. How to solve the problem of access speed of Web applications is the hot spot of the current Internet field has important practical significance. Web application speed bottleneck is the network transmission speed and Web server response speed of the current web acceleration technology around to solve these two problems studied. Proposed on the basis of in-depth study of the HTTP protocol, and a variety of existing Web acceleration solutions, the object validation accelerated program. The HTTP/1.1 protocol the expired model and object validation model, the program introduces the concept of file fingerprints to identify the object update the status of these two models to achieve transferred from the client to the server-side, not guaranteed under the premise, greatly reducing the the object validation data traffic traversing the WAN, network transmission speed, while reducing the load on the Web server. The paper also raises the dynamic content delivery acceleration program, it is a further application of the file fingerprint in Web acceleration field. Update the status of the program using the file fingerprint to identify dynamic content, supporting Web server correctly respond to a request for validation of the client, so as to achieve to avoid redundant data WAN transmission purposes, effectively improve the dynamic pages and dynamic response of the object and display speed. Web acceleration system as a theory of practice in the article, at the same time to achieve more than two acceleration technology, combined with traditional data compression technology. Near the server side of the system is deployed between the client and server side, the front-end module is the data to interact directly with the client or collection of modules that affect the behavior of the client, including the client interface module, the page processing module, HTML page parsing Module and data compression module. This article describes the overall design of the system, and the design of the front-end module, algorithm and give a detailed statement. Quantitative assessment results prove that the system has good acceleration effect is achieved in real-world environments, and has contributed to the good performance of the overall effect of the front-end module.
Table of contents
Summary 5-6
ABSTRACT 6-9
first chapter 9-12
1.1 Background and current status -10
1.1.1.Web accelerate research background and significance 9-10 the acceleration of 1.1.2.Web
study of the status quo 10
1.2. research nbsp and papers organization structure; the 10-12
1.2.1 study the content and scope of application of the subject 10-11
1.2.2. organization structure of this article 11-12
mainstream Web acceleration program analysis 12-20
2.1.Web accelerated program overview 12-13
2.2. various Web acceleration solutions characteristics and classification 13-19
2.2.1 protocol optimization 13-15
2.2.2. data cache 15-16
2.2 .3. data compression the 16-17
2.2.4 reverse proxy 17
2.2.5 load balancing 17
2.2.6 the Web acceleration program classification 17-19
2.3.Web accelerate technology development direction 19-20
Chapter Web acceleration system theoretical foundation 20 -29
3.1. the program overview 20
3.2 the theories Overview 20-29
3.2.1 file fingerprint 21-22 <br / > 3.2.2 object validity verification accelerated the 22-26
3.2.3 dynamic content delivery acceleration 26-28
3.2.4. data compression 28-29
Chapter Web acceleration system and the design of the front-end module 29-45
4.1 overall system design 29-40
4.1.1. system modular design the 30-33
4.1.2 System Flow Design 33-38
4.1.3. System Interface Design 38-40
4.2 client interface module design 40-41
4.3.HTML page parsing module design 41-42
4.4 page processing module design 42 - 44
4.5. data compression module design 44-45
Chapter Web the acceleration system front-end module algorithm 45-57
5.1 client The the interface module algorithm 45-53
5.1.1.HTTP request handling process the 45-46
5.1.2 multi-threaded and event-driven algorithm 46-47
5.1.3. lasting connection algorithm 47-51
5.1.4 pipelining algorithm 51-53
5.2.HTML page 'about parsing module algorithm 53-56
5.3 page processing module algorithm 56
5.4 data compression the module algorithm to achieve 56-57 <br / > Chapter Web acceleration system performance evaluation the 57-69
6.1 overall performance assessment the 57-62
6.2 client interface module performance assessment 62 -65
6.3.HTML page parsing module performance assessment the 65-67
6.4 data compression module performance assessment 67-68
6.5 further work 68-69
Conclusion 69-70
Reference 70-72
Acknowledgements 72-74 the
dissertation data set 74