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

Why is Bittorrent protocol so popular

I was wondering what made this protocol so useful as opposed to the other available protocols. For example, Gnutella is not used at all anymore (according to my limited knowledge) while more and more companies/people are providing files over…
Gootik
  • 526
  • 1
  • 7
  • 18
0
votes
2 answers

Are there any plans for a standard for connecting two clients (P2P) in web applications?

This question has been answered: Do websockets allow for p2p (browser to browser) communication? The answer is no. My question is: are there any plans for this? Any speculative draft by the W3C or whoever, planning this capability? (I have googled…
callum
  • 34,206
  • 35
  • 106
  • 163
0
votes
1 answer

C# local network discovery of own agents

I have this piece of software, let's call it an agent, deployed on every machine in a local network. Every once in a while, it needs to pull an update from the server. That means, each machine in that network connects to my server and downloads the…
Darksody
  • 319
  • 1
  • 3
  • 8
0
votes
2 answers

C# - Communicate between two laptops that are not connected to a LAN

I need to communicate (in C#) between two (or more) laptop computers that are not on a LAN. Here is the scenario: A couple of agents (with laptops) go from region to region working in several offices (at the same time). I need a way for the agents…
Tawani
  • 11,067
  • 20
  • 82
  • 106
0
votes
0 answers

error connect ECONNREFUSED websocket

Im trying to build p2p server in node.js using ws package but after running $HTTP_PORT=3002 P2P_PORT=5002 PEERS=ws://localhost:5004 npm run dev i get an error : Listening on p2p port 5002 Listening on port 3002 events.js:165 throw er; //…
ZexTar
  • 1
  • 2
0
votes
1 answer

Setting up a Client socket and ServerSocket listener (Java)

I'm trying to set up a peer to peer connection in java. I'm trying to set up my program to listen for an incoming connection while outwardly being able to connect to a different client. How can I instantiate my socket connection: socketConnection as…
Adrian Coutsoftides
  • 1,203
  • 1
  • 16
  • 38
0
votes
1 answer

Does hyperledger fabric use structured p2p?

P2P has two different structures. one is unstructured P2P and the other one is structured P2P. I know fabric use hybrid-P2P. And is it use strutured P2P?
user1005
  • 5
  • 2
0
votes
0 answers

Python3 - Port forwarding using UPNP using sockets to make a peer to peer network

I've messed around with sockets for a while and in order to forward a port, I need to port forward on my router as well as open the port on my windows firewall. I'm trying to set up a peer to peer network using python3. I've heard that the only way…
Grey
  • 9
  • 1
0
votes
0 answers

How to monitor for client side file changes with javascript and FileAPI

BLUF: Is there a way to monitor for changes to a file within a shared directory on the client side using javascript and the FileAPI? Background I've written a simple p2p file sharing program with node.js - clients select a folder of files to…
0
votes
0 answers

.Net C# DLL Reflection after receive from TCP P2P BADIMAGEFORMATEXCEPTION

I have a p2p app for file transfers using TCP. I am trying to send a DLL file and use reflection to read classes from it using Assembly.LoadFile("file directory") and i get the good old BadImageFormatException. exception stacktrace When I run the…
naknik
  • 11
  • 2
0
votes
1 answer

How blockchain node behaves upon receiving a new block when previous block wasn't acquired?

AFAIK part of block verification is checking that it contains valid previous block hash. But let's imagine, that for some reason (network glitch etc.) previous block never arrived. Wouldn't node discard all the following blocks? I wonder how this…
eugenekr
  • 6,260
  • 3
  • 21
  • 26
0
votes
1 answer

Can we have p2p like downloading of rpm from repository

Can anyone please tell me whether its possible to have p2p like downloading of rpm from repository
0
votes
1 answer

p2p without flex sdk via clean actionscript

Is it possible to write p2p app without flex sdk on clean actionscript via Stratus ofc? Because 1mb size of flex sdk it's a bit kinda too much. Thanks ;)
Somebody
  • 9,316
  • 26
  • 94
  • 142
0
votes
0 answers

Tools to create a browser game host bot (Headless/WebRTC)

I'm planning to create a bot that manages a room of a HTML5/WebRTC browser game which should run 24/7 on my headless server. It won't be there to participate in the game but only to host a room and extend it with some useful features. But before I…
Rispa57
  • 15
  • 1
  • 6
0
votes
1 answer

Client authentication in p2p network without middle server

I am thinking about a complicated chat application where two clients can connect to each other directly like in a p2p network. My idea complexity is both about network and the security (authentication). NETWORK PART As far as I have read on…
Sepehr GH
  • 1,297
  • 1
  • 17
  • 39
1 2 3
99
100