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

How to create peer-to-peer connection?

After reading a bit more about how to create P2P networks function, I wanted to start my own peer-to-peer sockets creation. I'm working on some apps for the android platform and I have problem that I'm not quite sure how to approach, and both are…
RajaReddy PolamReddy
  • 22,428
  • 19
  • 115
  • 166
7
votes
1 answer

The peerID used in GameKit framework, is always unique for each device?

The peerID assigned to your device in a GKSession, is it always the same for the same device? I mean, every time you create a GKSession, your peerID will be the same one? or a random one is assigned everytime you create a GKSession? How is this…
nico
  • 9,668
  • 8
  • 26
  • 28
7
votes
2 answers

ZooKeeper - adding peers dynamically?

I'm new to ZooKeeper. This is what I need. I've a network of peers. At t=t_1 -> [peer-1 (Leader), peer-2] peer-1 is the master and all clients connect to this node. At t=t_2 -> [peer-1 (Leader), peer-2, peer-3] At some later time peer-3 joins the…
Soumya Simanta
  • 11,523
  • 24
  • 106
  • 161
6
votes
1 answer

peer to peer storage library in java

I am developing a java application that will work peer-to-peer. At any given time, there will be over 5000 clients around the world online. Each of these clients will create small files over time. I would like these files to be distributed amongst…
Anon21
  • 2,961
  • 6
  • 37
  • 46
6
votes
2 answers

How to transmit live video over a Socket using Flex / ActionScript 3?

My Requirements are similar to this old question of 2009. I am just re-posting since OP is kind of 2 years old and the question is closed now. How can I transmit live video Stream over a Socket using Flex / ActionScript 3.0 ? I am developing an…
Amit
  • 13,134
  • 17
  • 77
  • 148
6
votes
2 answers

Java P2P framework NOT JXTA/JXSE

I need a Java framework to implement a simple P2P protocol which should have at least the following features: peer organization (join, discovery) XML message exchange query I do not want to use JXTA/JXSE, any alternatives (a part from the DIY)?
grog
  • 438
  • 1
  • 8
  • 21
6
votes
2 answers

No P2P in Windows Metro applications?

In the "A .NET developer's view of Windows 8 app development" session at BUILD, the lecturer mentions that only the client-side WCF features are exposed in the Metro profile, we cannot create a server. (…
gerkberk
  • 79
  • 6
6
votes
1 answer

how can I run multiple ios simulators to test p2p

Possible Duplicate: Is there a way to run multiple iOS Simulators at once? I'm trying to develop an app that uses the gamekit to communicate between 2 devices using bluetooth. I was wondering if there is a way to test this using just the ios…
theNoobProgrammer
  • 924
  • 2
  • 15
  • 34
6
votes
1 answer

How to connect to a host with peerjs?

I'm trying to use peerjs to connect an host with a client. I have two files (one for the host, one for the client). The host will generate a peerId which the client is using to connect to him. It's basically the tutorial from here. host.html const…
Lars Flieger
  • 2,421
  • 1
  • 12
  • 34
6
votes
2 answers

Do browser engines limit WebRTC speeds?

I am using PeerJS, which is a JavaScript implementation of WebRTC. I am using it for sending data through the DataChannel. Are there any speed restrictions by the browser engines? I am not able to send more than ~20MB/s even though both instances of…
dmuensterer
  • 1,875
  • 11
  • 26
6
votes
2 answers

How do you get around NATs using WebRTC without a TURN server?

I'm trying to make a peer to peer Javascript game that can be played on mobile browsers. I have been able to successfully set up a p2p connection between two phones within my local WiFi network. I am unable to connect two phones over mobile…
DiabloMablo
  • 75
  • 1
  • 1
  • 5
6
votes
0 answers

Android P2P direct connection for multiple devices. Peer as GroupOwner and client at the same time

I want to create a chat application (without internet connection) for Android-based on P2P communication via WI-FI (or Bluetooth) between 3 or more devices. I would like every device to have a direct connection to all devices. I know that android…
qba7
  • 61
  • 3
6
votes
1 answer

Selecting a Multicast IP Address

I'm having trouble understanding how multicast addresses work. First off, is it true that if I have N clients or peers working on separate networks, they all subscribe to the same multicast group, and this group allows any source to send messages,…
Josh G
  • 14,068
  • 7
  • 62
  • 74
6
votes
2 answers

What exactly K-Bucket means in Kademlia DHT?

I want to confirm my understanding of buckets in Kademlia DHT. Kademlia has m k-buckets where m is the size of the network in bits and k is the number of key-value pairs stored per bucket. for example, let's say m=4 then we can have 2^4 nodes,…
Nawras
  • 181
  • 1
  • 12
6
votes
1 answer

Best practices for .Net WCF NAT Traversal

I'm looking for suggestions or a solution for peer-to-peer NAT traversal in .Net. Say I have a chat application and two clients need to connect but both are behind NAT: For home scenarios, uPNP is probably ok since only a cable modem or consumer…
znelson
  • 919
  • 1
  • 10
  • 24