How Peer to Peer (P2P) Works


Peer to Peer (P2P) Technology- How it works:

Ever wondered how P2P works? This guide will run down most of the major P2P services and how they work. Peer to Peer technology lets people share files over a network on the internet. Most people now use what is known as the second generation of P2P, which is unlike its predecessors like such as Napter, the second generation has no centralized server, making it harder for it to shut down.

How first generation P2P services worked:

A connection is established by a peer finding another peer to connect to. Each peer exchanges active peer and their addresses. When a connection has been established, the user can then search for files. When a search has been submitted, it connects to all nodes on its connection list. The results are then displayed and a connection is made.

How second generation P2P services worked:

Gnutella2: Hubs are used to quickly search for files, eliminating the original "find peer and search" method. Instead, they store a list of files on all the "Leaves" (A peer) that are connected to it, thus dramatically reducing search time.Advantages: Unlike Napster, if a hub crashes, it's network stays alive.Disadvantages: Doesn't make network any more durable than the first generation of P2P.Gnutella2: www.gnutella.com

FastTrack: Programs such as Kazaa and iMesh use the FastTrack protocol. Normal peers connect to a supernode which acts jsut like a hub. Supernodes also connect to other supernodes, allowing search requests to move through the network very quickly. Peers then establish a direct connection to a client after a file has been found.Advantages: Any client can become a supernode.Disadvantages: Corruption of files occur.Clients include: Kazaa (www.kazaa.com), iMesh (www.imesh.com)

BitTorrent: .torrent files are used to store information about the file being shared. Once a torrent file is opened, the client connects to the tracker which tells the client where the file is located and what other peers/seeders there are. BitTorrent works by chunks of small files being transferred (even through multiple connections), while you are downloading. The files are checked for corruption as the download continues. Leechers are people who download and don't upload, and are highly frowned upon on some sites, disallowing them from downloading any further.Advantages: Very fast for popular, new files.Disadvantages: Trackers are unreliable and if it goes down, the file is lost.Clients include: Azureus (www.azureus.com), Shareaza (www.shareaza.com).

EDonkey Network: Edonkey runs on the same principle as first generation P2P, only anybody can become a server. Clients communicate with the server to download files, and random chunks can be downloaded in any order then put together in the end.Advantages: No file corruption, leech penalization.Disadvantages: It can penalize users unfairly.EDonkey: www.edonkey2000.com

Infinitive!, Copyright 2005.All Rights Reserved.

Infinitive! http://www.infinate.x10hosting.comThis article may be reproduced so long as your remain a link down the bottom.-Admin, Nigel.

More Resources

Unable to open RSS Feed $XMLfilename with error HTTP ERROR: 404, exiting

More Broadband Internet Information:

Related Articles

Google Talk Reviewed
So you're sick and tired of AOL Instant Messenger. You're looking for something fresh and new that will just work.
Broadband Connection to the Central Sun
You may have noticed the expansion of consciousness that has taken place since the Harmonic Concordance. This is due to the new Broadband connection that has been created to the Universe's Central Sun.
Webmail - What are the Benefits?
There are so many different webmail services on the internet, from the huge ones like Yahoo, Gmail, Hotmail, to the much smaller ones from private websites and ISPs. There is a lot to worry about with e-mail these days but some of these front line webmail services are really a great way of helping to protect your system.
Searching for the Right ISP
When searching for the right ISP there are a number of items to look at. How much is it going to cost me? What is the connection like? What are the Features? Is it available in my area? You will soon find that there are many ISP's to choose from.
Chat-less
Are you suddenly chat-less now that Yahoo has shut down many chat sites, due to complaints? One complaint was that people where using chat rooms to lure under age kids for sex. While others say the chat rooms were used to promote underage sex.
Its On! (Free Internet TV - Watch TV Online)
Get ready because "there's going to be television out the wazoo!" This according to Jonathan Klein, the president of CNN - U.S.
Find the Best Broadband Provider for You
To find the best broadband provider for you takes some effort.Like anything in life, doing the research is critical to getting the best product at the best price.
How to Test Your DSL and Cable Internet Connection Speed
There are two measured elements that determine your internet connection speed. They are: The download rate, and the upload rate of data measured in bits per seconds.
What is Broadband?
Defining broadband can get complicatedThere are many different takes on how to actually define the word: broadband. The first and most obvious way to define it is a transmission medium that allows for multiple pathways and types of data, far exceeding simple voice communication devices.
Why Choose Dial Up ISP Services
Dial up ISP service is the cheapest choice of any of the ISPs and may be a good option for that family on a tight budget. The software upgrades have definitely increased the speed of dial up ISPs, but their speed is still slower than some other options.
Beta Testing First Mobile Internet Satellite Broadband, Part I
Being on the road has its advantages; the freedom is the biggest one. One draw back was the Internet Service, but having done much study on the mobile Internet Satellite Systems and future technologies; I was able to become a beta tester of the MotoSat system in 1999.
Beta Testing First Mobile Internet Satellite Broadband, Part III
Back in 1999 when we beta tested the first wireless mobile office with satellite broadband Internet we had something that no one lese had. Today you can buy these systems for $5,500 fully installed on any RV.
DSL Internet is a Simple and Easy Way to Get Fast Internet Service
DSL - which stands for Digital Subscriber Line - is a great way to get high-speed internet service, without having to get a cable modem, or live in an area that has cable lines. DSL providers have very fast and comparatively cheap internet connectivity.
Beta Testing First Mobile Internet Satellite Broadband, Part II
We were the first beta testers of a Mobile Command Center with full Internet Access in 1999. Our mobile command center was also the first unit with WiFi and Internet Mobile Access.
Dreams Come True With The Help Of Global Consciousness On The Internet
Dreams. There are two types of dreams: 1.
How to Choose Best ISP for Your Needs
Well, the Internet access industry is starting to shake its way out. The much-anticipated consolidation of access providers is nearing its end.
Time to Redefine Telecom
Telecommunication, according to Wikipedia, is the extension of communication over a distance. In practice, it also recognizes that something may be lost in the process; hence the term 'telecommunication' covers all forms of distance and/or conversion of the original communications, including radio, telegraphy, television, telephony, data communication and computer networking.
Why You Should Switch To A Fast Internet Connection
With high-speed Internet access becoming available in more and more areas, perhaps it is now available in your neck of the woods. If it is, you might be wondering if it makes sense to upgrade from dialup.
Cheap Internet Access
For anyone trying to get the cheapest internet available, there are tons of options available. Some providers offer completely free service.
3G EV-DO or How the Internet Got Its Wings!
The Internet, as most people know it, is history.It just seems like yesterday the Internet was just onebig mass of wires and cables; a glorified file sharing warehouse with more than a few too many lines sticking out.