From the Client/server Model to P2P P2P-based models decrease the dependency on the server Some p2P models do not requires servers No single point of failure problems in P2P Both models have advantages as well as disadvantages Another advantage of p2P is that companies can build collective computing powers P2P has shaken the boundaries of networking in terms of sharing resources and costs incurred on servers 哈工大计算机学院李全龙 Network Application Development P2P Application Development 11
哈工大计算机学院 李全龙 Network Application Development P2P Application Development 11 From the Client/Server Model to P2P P2P-based models decrease the dependency on the server Some P2P models do not requires servers No single point of failure problems in P2P Both models have advantages as well as disadvantages Another advantage of P2P is that companies can build collective computing powers P2P has shaken the boundaries of networking in terms of sharing resources and costs incurred on servers
Various p2P Models P2P models can be divided into the following categories: Pure P2p P2P with a simple discovery server P2P with discovery and lookup servers P2P with discovery, lookup, and content servers 哈工大计算机学院李全龙 Network Application Development P2P Application Development 12
哈工大计算机学院 李全龙 Network Application Development P2P Application Development 12 Various P2P Models P2P models can be divided into the following categories: Pure P2P P2P with a simple discovery server P2P with discovery and lookup servers P2P with discovery, lookup, and content servers
Pure p2P Model Pure p2P model entirel depends on computers (clients in the c/s model) Peers find other connected eers on the network dynamiclly The entire communication occurs among connected peers without any assistance from a server Pure p2P models provide almost plug -and-play lay features for working with the Internet The only problem with the pure P2P model is finding peers 哈工大计算机学院李全龙 Network Application Development P2P Application Development 13
哈工大计算机学院 李全龙 Network Application Development P2P Application Development 13 Pure P2P Model Pure P2P model entirely depends on computers (clients in the C/S model) Peers find other connected peers on the network dynamiclly The entire communication occurs among connected peers without any assistance from a server Pure P2P models provide almost plug-and-play feature s for working with the Internet The only problem with the pure P2P model is finding peers
P2P with Simple discovery Server Such P2P models do not actually involve a server The role of the server is restricted to providing the names of already connected peers to the incoming peer The server only assists peers by providing a list of connected peers Establishing connection and communication still remains the job of th e peers This model increases the chances of finding a larger number of peers To download a resource, a peer has to approach each connected peer individually May need more time 哈工大计算机学院李全龙 Network Application Development P2P Application Development 14
哈工大计算机学院 李全龙 Network Application Development P2P Application Development 14 P2P with Simple Discovery Server Such P2P models do not actually involve a server The role of the server is restricted to providing the names of already connected peers to the incoming peer The server only assists peers by providing a list of connected peers Establishing connection and communication still remains the job of the peers This model increases the chances of finding a larger number of peers To download a resource, a peer has to approach each connected peer individually May need more time
P2P with a Discovery and Lookup Server The server is used to provide the list of connected peers along with the resources available This model reduces the burden on peers The server initiates communication between two peers Once again the two connected peers establish communication, and perform various activities 哈工大计算机学院李全龙 Network Application Development P2P Application Development 15
哈工大计算机学院 李全龙 Network Application Development P2P Application Development 15 P2P with a Discovery and Lookup Server The server is used to provide the list of connected peers along with the resources available This model reduces the burden on peers The server initiates communication between two peers Once again, the two connected peers establish communication, and perform various activities