Questions tagged [p2p]

Peer-to-peer (P2P) computing or networking is a distributed application architecture that partitions tasks or workloads between peers. Peers are equally privileged, equipotent participants in the application.

Peers make a portion of their resources, such as processing power, disk storage or network bandwidth, directly available to other network participants, without the need for central coordination by servers or stable hosts. Peers are both suppliers and consumers of resources, in contrast to the traditional client–server model where only servers supply, and clients consume.

The peer-to-peer (P2P) application structure was popularized by file sharing systems like Napster. The peer-to-peer computing paradigm has inspired new structures and philosophies in other areas of human interaction. In such social contexts, peer-to-peer as a meme refers to the egalitarian social networking that is currently emerging throughout society, enabled by Internet technologies in general.

What is it?

This is a special kind of network type ('network topology' is the fancy description). It describes computers that are networked to each other without a central server being in-between.

Why was it developed?

Peer-to-peer networks are very popular with people who want to share files directly with one another. The files do not have to be stored on a central server.

Software has been developed that can even put together a file from bits of the file stored across several 'peers' on the network. For example, BitTorrent can do this. The advantage is that no single computer needs to be over-loaded when a very popular / very large file is requested.

Why is it important?

It is an important development, because it will affect the way the Internet is used in the future.

Many companies want to provide 'video on demand' services, but the problem has been how to provide the vast bandwidth needed when thousands of people are asking for the same video file, e.g., the latest episode of Lost or 24.

Peer-to-peer is an ideal solution to the problem, because hundreds of computers can hold parts of the video and so share the load.

Some companies are calling the peer-to-peer connections they are building 'The Grid' which is a trendier name for the same thing.

What about the future?

In the near future, high definition television programs may be delivered through the Internet and so peer-to-peer may be used.

References

1970 questions
7
votes
3 answers

File Replication/Synchronization between multiple sites using BitTorrent

I need to build a distributed system which relies on replication of large files between the sites. I thought of using p2p technology like bittorrent to save on bandwidth, and increase reliability. Am I terribly wrong? Have anyone ever architected…
Omer Mor
  • 5,216
  • 2
  • 34
  • 39
7
votes
1 answer

Nat Punchthrough understanding P2P concept

So, i have been reading up on NAT-Punchthrough. I seem to be getting the idea, but i have a hard time implementing it, and i feel that i am missing a step here. Testing this functionality is kind of hard because i have little control over the…
Smileynator
  • 677
  • 8
  • 24
7
votes
2 answers

What architecture do VoIP applications use, P2P or Client-Server?

Please let me know what architecture do VoIP applications use, P2P or Client-Server? Thank you.
user50819
  • 333
  • 1
  • 5
  • 14
7
votes
2 answers

TCP P2P without server

is it possible to write TCP P2P program without server? When I was googling this question I found something about NAT traversal,UPnP, can I use them somehow?
user380798
  • 107
  • 1
  • 1
  • 4
7
votes
2 answers

Native Real Time Communication alternatives to WebRTC

I would like to develop a Real Time Communication (with video and audio) application natively for android and iOS. Ideally it would also be able to connect to a browser however mobile platforms are the most important for this case. I have been…
Jack C
  • 1,044
  • 2
  • 12
  • 22
7
votes
1 answer

Join existing PeerGroup in JXTA/JXSE

I have a problem using JXSE. Let's say i have a rendezVous peer and an Edge peer, not on the same local network. The rendezVous peer create a peerGroup "test", and publish an advertisement in this group with the name "test advertisement" Let's say…
crashxxl
  • 682
  • 4
  • 18
7
votes
2 answers

Application Flow for Android peer to peer connection?

I am creating an application in android on webrtc for peer to peer connection for video call and chat . I have downloaded the demo code from WEBRTC site and successfully ran that code ( can see only video , no voice exchange), I printed all the…
sharma.mahesh369
  • 985
  • 11
  • 28
7
votes
1 answer

.NET and P2P - writing a P2P messenger

Does anyone have any advice how to write such app? Or maybe knows some nice tutorial? I would like to use System.Net.PeerToPeer namespace, but everything I can find about it is MSDN which I can't read without getting mad. Or maybe using "old-school"…
brovar
  • 811
  • 4
  • 10
  • 25
7
votes
5 answers

How to utilize network for p2p file sharing on Android Platform?

I'm working on some apps for the android platform and I have two problems that I'm not quite sure how to approach, and both are closely related. How can I send a relatively small data file from one android device to another (preferably over the…
CodeFusionMobile
  • 14,812
  • 25
  • 102
  • 140
7
votes
3 answers

Android Wi-Fi Direct Network

I am developing an application on Android where I am searching for all the peers in the range and afterwards connect with all of them, The device who initiated the the discovery become the group owner and all others become client, I have done all…
Talib
  • 1,134
  • 5
  • 31
  • 58
7
votes
1 answer

Real-world cross-platform decentralized asynchronous peer-to-peer communication

My knowledge about network programming is limited, so, all the comments are more than welcome. Essentially my question boils down to the following question: Q1. Is there really such a thing as decentralized asynchronous cross-platform peer-to-peer…
7
votes
3 answers

Open-source p2p videoconferencing in Flash or Java?

I want to build a community website with videoconferencing functionality integrated. I would prefer to provide this from within the browser, so I'm looking for a Java- or Flash-based solution. Also, it would be nice to spare bandwidth by having the…
AttishOculus
  • 1,439
  • 1
  • 11
  • 18
7
votes
3 answers

Simulate p2p network traffic on a single computer

What is the best way to simulate a network in Java? I'm in the early stages of a networked peer to peer project, and to determine some of the required characteristics of the clients I'd like to be able to simulate 100+ instances concurrently on my…
N. McA.
  • 4,796
  • 4
  • 35
  • 60
7
votes
4 answers

How to Send text messages browser to browser in webrtc?

I want to send text messages directly to browser. Till now I'm only seeing the audio/video transmission demos in the web. These are my doubts: Can't we solve this just by using PeerConnection API? Or is the new DataChannel API is required to…
Nachiketha
  • 21,705
  • 3
  • 24
  • 32
7
votes
1 answer

Kademlia routing table and distance metric

Its been the first time I read about Kademlia today, and some points I don't think I got them right. The distance between nodes and keys is the xor of their values. So, if I have key x and node y, the distance between them is x xor y. But why what…
xander
  • 1,427
  • 2
  • 16
  • 26