The research and design of high - performance network traffic control system

Author
LiuXiaoNan
Advisor
LuXianLiang
School
University of Electronic Science and Technology
Major
Computer System Architecture
Classification
TP393.06 Computer networks, test , run
Degree
Master's thesis
Year
2009
Downloads
184
Citations
1

Request the full text

Abstract

The development of Internet technology made the network become a new carrier of medium, and the rapid growth of the medium has brought a great impact to the Internet vice versa. Especially the infiltration of video, personal medium, traditional television and other forms of medium into the Internet made the network traffic increased dramatically, which cause the operating and managing cost of ISP grow rapidly. ISP has used some methods of traffic-limiting to control the network traffic, but these methods limited the development of media also, and were not benefit to the further development of the Internet. So inventing of a new technology to control network traffic has become a focus of research.At present, the Internet traffic was mainly generated by P2P and HTTP. It was estimated that these two kinds of traffic have accounted for more than 70% of total traffic, and still showed a rising trend. So it is important to control the traffic generated by P2P and HTTP. When reducing the traffic generated by P2P and HTTP the overall network traffic will be effectively reduced. The traffic control system described by this thesis was specific to P2P and HTTP. This system was deployed at the outlet of network to cache the P2P and HTTP traffic. By responding the following requests for the same resource with the cached resource, the network traffic and bandwidth will be reduced, and the user experience will be improved.This system was based on the Linux platform, and used many design patterns in the process of design. The high-performance was the key demand of the system, because the system was deployed at the outlet of network, which would face heavy stress of service. Several measures were adopted to improve the performance. First was the concurrency. Because the system would receive a large number of requests in a short time, the traditional model of one connection per thread could not cope with such a high concurrency situation. For this reason, the pattern of reactor which based on Linux2.6’s epoll system call was adopted, so that the degree of concurrent was only subject to the number of file descriptor(theoretical upper limit was 65536) in the operating system. Second was the disk I/O. The disk I/O was a hot spot in the system. To improve the capacity of throughput of the disk the pattern of thread pool was used. The complexity of implementation was reduced because this pattern separated the disk I/O from communication mechanisms; and the capacity of throughput of the disk was improved because there were many threads in the thread pool dealing with the disk I/O simultaneously. Finally was the organizing and indexing of the data. The data was stored in the form of files which were organized into three level directories. In order to speed up the speed of retrieval, the system constructed an index in the memory for all the files. Through this index a file could be located quickly.This system has been deployed widely. The data obtained from a practical use show that the system had strong concurrency, high disk throughput and could reduce network traffic effectively.

Related dissertations

  1. Research of P2SP File-Distribution System
    YanQing ·Sichuan Normal University ·2012 ·Master's thesis
  2. Studies of Key Strategies in Content Distribution System
  3. Design and Implementation of ACE-based Distributed Data Transmission Framework
  4. Implementation of WWW Cache Based on ThreadPool
  5. Research and Implementation of Cache Technology Based on WWW
    ZhouZhen ·Dalian Maritime University ·2004 ·Master's thesis
  6. The Implementation of Cache Management System for CD Library File
    ChaYi ·Wuhan University ·2004 ·Master's thesis
  7. Research and Application of Pool Resource and Cache in Data Access Middleware
    HuangHai ·Hohai University ·2006 ·Master's thesis
  8. Design and Implementation of Web Application Server Based on J2EE
  9. Lightweight Web browser agreements , technology and its implementation
    YuZengHui ·Zhejiang University ·2005 ·Master's thesis
  10. Research and Design of a Web - based real-time control system
    LiuZuoWang ·Xi'an Optics and Fine Mechanics ·2008 ·Master's thesis
  11. The Implementation and Monitoring of WEB Server Based on Thread Pool
    SongLiZuo ·Jilin University ·2011 ·Master's thesis
  12. Design and Implementation of active and passive mode distributed proxy cache server
  13. Microfinance Wholesale Mechanism Research and Construction Analysis
  14. The Investigation Report of P2P Lending
  15. Risk Management of P2P Network Financing Mode
    WangSheng ·Zhejiang Sci-Tech University ·2014 ·Master's thesis
  16. The Construction of P2P Networks Lending Risk Management System in China
    LuoYang ·Zhejiang Sci-Tech University ·2014 ·Master's thesis
  17. Research on Knowledge Sharing Model of Semantic Community Based on P2P Networks
  18. Design and Implementation of High Speed Data Recorder Based on FPGA
  19. Design and Simulation of Varnish Production Distributed Control System
    FengJian ·Northeastern University ·2012 ·Master's thesis
  20. Study on Reactor Fault Diagnosis Based on Information Fusion
    ChenBo ·Zhejiang Sci-Tech University ·2012 ·Master's thesis