The Realization of Proxy Server Bbase on HTTP and Research on Cache Replacement Algorithm
- Author
- DiGang
- Advisor
- LiuYanZuo
- School
- Jilin University
- Major
- Software Engineering
- Classification
- TP393.08 Computer Network Security
- Degree
- Master's thesis
- Year
- 2010
- Downloads
- 197
- Citations
- 3
Abstract
With the development of computer technology and the popularity of the Internet, people are dependent on the network has penetrated into all areas of daily life, online shopping, video chat, search information and other networking events so that people can be anywhere to maintain close contact with the network, not only to the lives of people a lot of convenience, but also make people's lives more colorful. However, the rapid development of the network, network management to bring new issues, network security issues, IP address restriction, network traffic and Web access latency have become the focus of attention, because it affects the sustainable development of the network . Proxy server is considered to solve the above problems, a proven method, it is also present people often used methods, as many researchers have research hotspot. Proxy server is between the client and the Web server, and when the network users to access information on the Internet, the proxy user access to network information on a server. When a client sends a request to the server, the request is first sent to a proxy server, proxy server received a request for analysis and in the proxy cache to see if there is data in the request, if so, the proxy server simply passes it to the client; Otherwise, the proxy server to client requests the same way request to the server, and the data is passed from the server to the client, while in the proxy cache to retain a copy of the data, so that the client sends the same data request , you can directly get data from the proxy server instead of the server sends a request again. Agent technology generation, so that all internal network users can access a proxy server to the outside world, only mapped to an IP address within the network will be isolated with the outside world, so the outside world can not directly access the internal network. Also, by setting the appropriate access rules, the proxy server can be used to restrict access to the internal network to external authority, which to some extent, prevent unsafe information intrusion of the outside world phenomenon. Agent technology, so that all users of the internal network to the external access occupies only an IP, therefore, to some extent, saves IP overhead. Also reduces the Internet, reducing the cost for maintaining the network. In addition, the proxy server in the process of information transmission, the network has played a buffer role, not only can save network bandwidth, but also improve the access speed. In the context of this paper, based on the HTTP protocol, using JAVA realization of a simple proxy server, and the cache replacement algorithm carried out a systematic study and research, the design of a simulation program, in order to study the performance parameters of replacement algorithm , and the traditional replacement algorithm has been improved, presents a better performance of the algorithm. In the study of the system design process, this paper made the following tasks: (a) the proxy server and cache replacement algorithms relevant theoretical knowledge involved in a systematic study and research. (2) based on the HTTP protocol, using JAVA realization of a simple proxy server. (3) through several typical cache replacement algorithm research and analysis, the Hybrid algorithm based on the primary and secondary improved, and the design of a simulation program from a URL hit rate, byte hit ratio and delay rate , and will replace it with some typical algorithms are analyzed and compared. The experimental results show the URL string in the same simulation input stream, the improved algorithm in maintaining a relatively low latency URL rates and relatively high hit rate in the case, the byte hit rate is greatly improved, reducing the network traffic, network conditions to improve a certain significance.
Table of contents
Abstract 4-6
ABSTRACT 6-10
Chapter 1 Introduction 10-13
1.1 Background 10-11 < br /> 1.2 significance 11-12
1.3 article content and organizational structure 12-13
Chapter 2 related technologies and status 13-20
2.1 Agent Technology Overview 13-15
2.1.1 network hierarchy architecture 13-14
2.1.2 Agent layer classification 14-15 < br /> 2.2 Caching Overview 15-20
2.2.1 Cache classification 16-18
2.2.2 cache structure 18-20
Chapter 3 proxy server design 20-29
3.1 WEB server principle 20-21
3.2 proxy server principle 21-22
3.3 HTTP protocol 22-23
3.4 proxy server design 23-29
3.4.1 Proxy Server is designed 23-24
3.4.2 Proxy servers are designed for needs analysis 24-26
3.4.3 Proxy Server design and implementation 26-29
Chapter 4 cache replacement algorithm design 29 - 46
4.1 replacement algorithm outlined 29-32
4.1.1 Access time interval based replacement algorithm 30
4.1.2 replacement algorithm based on the number of visits 30-31
4.1.3 replacement algorithm based on document size 31
4.1.4 preservation value-based replacement algorithm 31-32
4.2 replacement algorithm The evaluation criteria 32-34
4.2.1 URL hits 32-33
4.2.2 byte hit ratio 33
4.2.3 access latency rate 33-34
4.3 Typical replacement algorithm and the results analyzed 34-39
4.3.1 LFU, LRU, Size and Value algorithm results analyzed 34-37
4.3.2 Hybrid algorithm results analyzed 37-39
4.4 Hybrid algorithm is an improvement 39-42
4.5 Hybrid Algorithms second improvements 42-45
4.6 Chapter Summary 45-46
Chapter 5 Summary and Outlook 46-48
5.1 work summary 46-47
5.2 Research Prospects 47-48
References 48-50
Author 50-51
Acknowledgements 51
Related dissertations
- Hybrid Genetic Algorithm and Their Applications
- Research and Application on the Hybrid Algorithm of PSO And ABC
- Study on Hybrid Neural Network Application in Petroleum Price Prediction
- Research on grid security technology of Portal
- Traffic Video_Based Realtime Vehicle Driving Status Recognition Algorithm Research
- Regularization Algorithm Study on Image Reconstruction for Electrical Capacitance Tomography
- Hybrid Algorithm for Vehicle Routing Problem
- Research and Application for Swarm Intelligent Fusion Algorithm
- Design of MIMO Radar Orthogonal Polyphase Code Based on Genetic Tabu Algorithm
- Studies on Hybrid Multi-objective Optimization Method and Its Applications to Boiler Load Distribution in Power Plant
- Multi-objective Optimization Method for Elevator Group Control System
- Production Planning and Production Scheduling for Automobile Parts Based on Hybrid Algorithm
- Research on Ballast Water Technology of Slippage Shipment Process of the Large Structure
- Hybird Genetic Algorithms on Solving Multi-Peak Optimization Problems and Application
- The Study on Critical Path Problem in Stochastic Environment
- Research of Some Scheduling Problems Base on Hybrid Intelligent Algorithm
- Research on Defence Technique against Web Attack Based on Script Security
- Study and Improvement of An Proxy-Based Web Service Security Model
- A Client-side Solution against Session Hijacking through XSS Attacks
- SSL Session Analysis and Monitoring