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
0
votes
0 answers

Java [Peer-To-Peer]: Runnable stops/blocks unexpectedly

I am developing a simple distributed ledger. I want to be able to start nodes on different ports, that could communicate with eachother. Each programme then would have a file, where it would write newly discovered nodes. At first, only the most…
0
votes
1 answer

Socket and peer-to-peer connection at once

Is it possible, to mix a socket connection and a peer-to-peer connection within the same script? Let's say a chat application is running on socket.io and the 1 on 1 private messaging should be done within a peer-to-peer connection: Is it necessary…
Mike
  • 493
  • 5
  • 14
0
votes
1 answer

P2P messaging over internet

I'm imagining mainstream messaging applications on mobile phones but without centralized servers. Somehow two phones, connected to internet over mobile network, are matched and create a connection between them. Then Phone A moves out of it's current…
0
votes
1 answer

Is this data sharing problem an NP problem?

Here is my problem: There are n peers in the P2P network, which request the same data block; And with some constraint. 1. Peers with its own upload bandwidth, and the average bandwidth is the size of the data block. 2. The peers have different…
0
votes
1 answer

p2p_find is giving OK but not working correctly

p2p_find OK <3>CTRL-EVENT-SCAN-STARTED -That's it, its not scanning recursively wpa_supplicant v2.7 .conf(etc/wpa_supplicant/.conf)file contains the…
vishal
  • 308
  • 1
  • 19
0
votes
1 answer

How does a bit torrent client know the transfer details such as amount of data uploaded and downloaded?

In any bit torrent client there is an information tab which shows details about the amount data uploaded and downloaded. I want to know how exactly is this calculated/determined. Is there any way to retrieve these figures without reading them off…
0
votes
1 answer

Why does creating a second connection after the first one has been ended result in a broken pipe exception?

In my application I have two people on different devices connect through wifi direct peer to peer connection. When they are connected, one user is assigned host" and the other "client". WifiP2pManager.ConnectionInfoListener connectionInfoListener…
Solaire
  • 21
  • 7
0
votes
1 answer

jxta.org, where is it?

There was many projects inside "jxta.org", where are those ? Is it moved to some other place ? http://java.sun.com/developer/technicalArticles/Networking/jxta/ I am very much in need of many of those open source project. Can some one help me find…
Gireesh
  • 91
  • 1
  • 7
0
votes
1 answer

How to parse the leecchers/seeders section of UDP tracker response message?

I am confused about the udp tracker response message, what does "20 + 6 * n" or "24 + 6 * n" or "20 + 6 * N" mean? I try to think of 20 + 6 * n as there are number(index from 16 to 20)=n seeders and bytes with subscripts from 20 to 20 + 6 * n…
0
votes
1 answer

DHT way of storing key value pairs

In P2P networks that DHT is responsible for routing and maintaining the index of the shared data. Can we store multiple values per key in any implementations of P2P Distributed Hash Table? something like: +________________+ | key | Value …
Nawras
  • 181
  • 1
  • 12
0
votes
1 answer

Pivotal Cloud Foundry p2p communication between same application instances

Running spring boot app with hazelcast as member. When running several instances of app on local machine, hazelcast members are able to discover each other. I wonder how I can achieve same behavior between my app instances deploying on pcf. Just…
Oleg Kuts
  • 769
  • 1
  • 13
  • 26
0
votes
1 answer

Can the visibility of contents on IPFS be restricted?

Is it possible to restrict some contents on IPFS based on certain group privileges? From what I have gathered from my readings is - once you deploy a content, it generates a hash based on the content and it is accessible from anywhere. Suppose an…
Abrar
  • 6,874
  • 9
  • 28
  • 41
0
votes
1 answer

How to maintain Socket connection?

Suppose we have chat application which allows us to have contacts and we can chat to anyone from our contacts. Our application should behave like server when receiving messages and client when sending messages. In Java when we want to make a TCP…
Navjot Singh
  • 678
  • 7
  • 18
0
votes
4 answers

encryption algorithms

I have a P2P backup network where a peer can store data and retrieve it later from another peer. What are the best security measures I can take so that data wont be read by other users which have not created it? I was going to use single key…
Tzer001
  • 15
  • 1
  • 3
0
votes
1 answer

ActionScript 3.0 P2P Connection WITHOUT encryption?

Is there any way to create a direct data connection between two flash clients without the use of Cirrus? I'm asking because I create a multiplayer iPhone game with flash which currently uses Cirrus for all online multiplayer data. now I read that,…
Mat
  • 4,281
  • 9
  • 44
  • 66