A Brief History of P2P is not a new technolo It has existed since the Internet was taking form in the 1970s Recent changes in technology and the improved computing capability of desktops have brought about P2P's revival on a arger scale P2P model-based application is confined to sharing files As a result of the increased demand for web-base services users felt the need to control, exchange and share resources directl Meanwhile, in the late 1990s, PCs became increasingly powerful in terms of speed and processing power Software developers realized that they could put server software on individual PCs and initiate a direct two-way data flow between two peers Led to the revival of p2p Interestingly, the ip routing infrastructure is still P2P 1999-2000, Napster shows the true potential of p2P 哈工大计算机学院李全龙 Network Application Development P2P Application Development 6
哈工大计算机学院 李全龙 Network Application Development P2P Application Development 6 A Brief History of P2P P2P is not a new technology It has existed since the Internet was taking form in the 1970s Recent changes in technology and the improved computing capability of deskt ops have brought about P2P’s revival on a larger scale P2P model-b ased application is confined to sharing file s As a result of the increased demand for Web-base services, users felt the nee d to control, exchange, and share resources directly Meanwhile, in the late 1990s, PCs became increasingly powerful in terms of speed and processing power Soft w are developers realized that they could put server software on individual PCs and initiate a direct two-way data flow between two peers Led to the revival of P2P Interestingly, the IP routing infrastructure is still P2P 1999-2000, Napster shows the true potential of P2P
Application Architecture Client-server P2P Hybrid 哈工大计算机学院李全龙 Network Application Development P2P Application Development 7
哈工大计算机学院 李全龙 Network Application Development P2P Application Development 7 Application Architecture Client-server P2P Hybrid
Client-server architecture server always-on host permanent IP address server farms for scaling clients communicate with server may be intermittently connected may have dynamic IP addresses do not communicate directly with each other 哈工大计算机学院李全龙 Network Application Development P2P Application Development 8
哈工大计算机学院 李全龙 Network Application Development P2P Application Development 8 Client-server architecture server: always-on host permanent IP address server farms for scaling clients: communicate with server may be intermittently connected may have dynamic IP addresses do not communicate directly with each other
Pure p2P architecture ■ no always on server arbitrary end systems directly communicate peers are intermittently connected and change Ip addresses example: gnutella Highly scalable But difficult to manage 哈工大计算机学院李全龙 Network Application Development P2P Application Development 9
哈工大计算机学院 李全龙 Network Application Development P2P Application Development 9 Pure P2P architecture no always on server arbitrary end systems directly communicate peers are intermittently connected and change IP addresses example: Gnutella Highly scalable But difficult to manage
Hybrid of client-server and P2P Napster File transfer p2p File search centralized Peers register content at central server Peers query same central server to locate content Instant messaging Chatting between two users is P2P Presence detection/location centralized User registers its ip address with central server when it comes online User contacts central server to find IP addresses of buddies 哈工大计算机学院李全龙 Network Application Development P2P Application Development 10
哈工大计算机学院 李全龙 Network Application Development P2P Application Development 10 Hybrid of client-server and P2P Napster File transfer P2P File search centralized: Peers register content at central server Peers query same central server to locate content Instant messaging Chatting between two users is P2P Presence detection/location centralized: User registers its IP address with central server when it comes online User contacts central server to find IP addresses of buddies