摘要
文章主要讨论了通过应用层转发实现代理服务,分析了代理实现的方式和系统结构,提出了多进程结构和I/O复用结构,从而实现了操作的并发性。也使得编写代码更加容易,程序结构更加清晰。代理采用了缓存功能和淘汰算法,避免了页面频繁更换造成访问速度的下降,同时对所要代理的HTTP协议进行了叙述,并提供了部分测试结果。
This paper discusses the implementation of proxy service base on application layer transfer.It analyzes the model of implementing and system structure.The multi-process structure and I /O multiplexing structure are provided.Us-ing the two structure can achieve the concurrency in operation.So it is easier to program and clearer in structure.In this server,it adopts the function of cache and replacement algorithm.It is avoid to decrease in speed for high frequen-cy replacing in data.Then the detail of HTTP is gave.In the end,parts of results from experiments are presented.
出处
《计算机工程与应用》
CSCD
北大核心
2002年第12期180-182,共3页
Computer Engineering and Applications