Font Size: a A A

Based On The Domain Of P2p Media Streaming Distribution System Design And Realization

Posted on:2011-11-12Degree:MasterType:Thesis
Country:ChinaCandidate:G J DengFull Text:PDF
GTID:2208360308965907Subject:Computer system architecture
Abstract/Summary:PDF Full Text Request
In order to support the expanding customer scales, the traditional streaming media distribution system, based on C/S mode, needs more server hardware and bandwidth resources due to the constraints of the domestic broadband network upstream bandwidth and server processing capacity, causing that the cost of development increases sharly. P2P technology can take advantage of the client processing power and idle bandwidth to reduce the loaded pressure of server greatly by exchanging data between peers. Thus, studying how to use the P2P technology to break the constraints of the network bandwidth and server processing capacity so that the service operators can reduce the cost is a quite hot topic now.After studying the P2P technology and the national broadband network, this paper proposes a set of solutions of the DPCDN(Domain-based Peer to peer Content Distribution Network)system.First, the paper introduces the DPCDN system from an overall perspective. It divides P2P network into several disjoint domains in accordance with the topology of ISP and geographic information of peers to improve the rate of data exchange and reduce the flow of the backbone network loaded pressure by exchanging data between peers.Then, this thesis focuses on describing the design and implementation of the content router server and tracker server , which are two key components of DPCDN system. For their high performance and high availability , network I/O is handled by non-block socket asynchronously , which is called Reactor framework , based on linux epoll mechanism. There are many timers in both of them, so efficient timer management is implemented in the Reactor framework. There are frequent operations on database in the content router server, so non-blocking operations on database are implemented by thread pool framework. There are frequent operations on backing up the meta information for all clients, which are implemented by an independent thread. The design of domain is implemented by the router algorithm of content router server. For optimizing the returning policy of the neighboring nodes, the tracker server divides the neighboring nodes in accordance with the domain.Finially, the simulation tests for content router server , tracker server and DPCDN, have been done to prove that the server components, designed in this paper, have a high performance and reliability. At the same time, the data exchange between P2P nodes has been successfully piped into the same or related domain, which leads to greatly improving the rate of data exchange and reducing the bandwidth of backbone network.
Keywords/Search Tags:P2P, Content Distribute Network, load-balance, content route, autonomous domain
PDF Full Text Request
Related items