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
2 answers

App that will communicate between devices connected on the same local network Wi-Fi

So there's a requirement for an app that will communicate between devices if and only if its connected to the same local network. E.G: Device A and Device B are connected to Wi-Fi network Z. The app will allow both the Devices to communicate between…
Zx5
  • 155
  • 1
  • 8
0
votes
0 answers

Python: Nothing happens when executing python code (P2P implementation)

I am a newbie in python. I downloaded a framework code called btpeer.py about functions of P2P network and I tried to write main method which implemented some functions of this framework. However, when I compiled the code with command "python…
Vyolet
  • 47
  • 1
  • 6
0
votes
1 answer

Why can't I update post meta from the admin view?

I am trying to programmatically generate data in my wordpress site. I use WPAlchemy for my metaboxes and the posts-to-posts plugin for post-to-post relationships. In my generation function, I am generating a custom post type called 'songs' to all be…
drkgrntt
  • 25
  • 1
  • 8
0
votes
1 answer

Android P2P Wifi Direct / Bluetooth

I am developing currently an Android application that will communicate with other Android devices per Wifi. The Wifi will also provide the online connection. There is no server in this Wifi environment. The idea was that the devices will discover…
0
votes
1 answer

Custom Peer to Peer Communication in Android using FCM

Earlier I used FCM Firbase for Push Notifications, Now I have a requirement in my App there are 2 groups of users 1) publishers & 2) subscribers whenever publisher changes their status should be known to subscribers, for this requirement can I use…
Naga
  • 2,368
  • 3
  • 23
  • 33
0
votes
1 answer

Android P2P idea

I've been looking around for some way to simulate Peer 2 Peer for games on the android and the best way I've been able to come up with is connected an android to a server and then routing through that server. I'm just looking for some thoughts on my…
0
votes
0 answers

Why can't I register my P2P application in Windows 8.1

I am trying to learn a few things about P2P. That is why I am trying to run this code sample below on my computer with Windows 8.1 OS: using System; using System.Collections.Generic; using System.Linq; using System.Text; using…
walruz
  • 1,135
  • 1
  • 13
  • 33
0
votes
1 answer

Anonymous Visibility Check in P2P networks

I'm working on a problem for a P2P network for games. The problem is the following: Consider two players on a grid, each stores it's own position. Player 1 wants to know if it sees player 2. In other words, if player 2 should send it's positional…
0
votes
1 answer

Check if port 6881 is used for hosting DHT node

I scanned a couple of IPs and I saw that they had opened port 6881 which is know for DHT node. Couple of minutes later I re-scanned those IPs and find that there are less IPs with port(6881) opened as before so that got me thinking, how to check and…
ZeroByte
  • 311
  • 1
  • 5
  • 11
0
votes
1 answer

How to configure two P2P nodes on same channel using Hyperledger composer?

Current solution: 1. I have a single node running on Hyperledger. 2. I have deployed my car-auction application on it. Solution looking for: I want my car-auction application to deploy on the second node and both nodes should be synced on the…
Anant
  • 153
  • 14
0
votes
1 answer

How do I connect two clients P2P over the internet. Using java web server

I have a sparkjava server. So this is set up on-top of the jetty server. I want to make a video chat using WebRTC. I want to negotiate a connection between client A and client B. After they connect I want to take my server out of the middle. (I want…
caleb baker
  • 144
  • 7
0
votes
1 answer

Difference between torrent P2P sharing and WebRTC P2P sharing?

I have a doubt/misunderstanding. webRTC uses RTCDataChannel API for communicating data P2P. Torrents also P2P. Is both the technologies uses same thing in its core ? or any difference is there ? If there is any difference then can we create some…
J4GD33P 51NGH
  • 630
  • 1
  • 8
  • 24
0
votes
0 answers

Can't read peer records

I'm using this code for reading peer data and comments: public Dictionary ResolvePeerMethod() { Dictionary peerInfo = new Dictionary(); int count = 0; string[] peerinfo = new string[1]; …
Alberto Vona
  • 55
  • 2
  • 9
0
votes
0 answers

Manually firing off signal event?

I'm wondering if there is a way to manually cause a simplepeer Peer object to fire of the signal data event that does of when a initiating peer is created. More precisely what I want to do is to create Peer objects with the initiator property set…
0
votes
1 answer

C# P2P: peer's data and comment aren't set

I'm trying to insert data in a peer, but it doesn't work. I leave below the code that I'm using: PeerNameRegistration pnReg = new PeerNameRegistration(); pnReg.PeerName = peerName; pnReg.Start(); pnReg.Port = 80; pnReg.Comment =…
Alberto Vona
  • 55
  • 2
  • 9