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

What libraries provide cross-platform 3D and P2P support?

I'm trying to find a constellation of libraries which, taken together, meet the following requirements: Smooth scaling, rotation, panning (in two dimensions). I'll have a large bitmap (or SVG, in some cases), maybe up to 10000x10000 pixels, which…
uckelman
  • 25,298
  • 8
  • 64
  • 82
0
votes
1 answer

Howto configure P2P search engine YaCy for LAN and WWW

YaCy is a free distributed search engine, built on principles of peer-to-peer (P2P) networks "wikipedia YaCy". After installation, you can use it to search the WWW, but not your own computer. However, I have found a guide that shows how to…
SL5net
  • 2,282
  • 4
  • 28
  • 44
0
votes
1 answer

Should I use UDP or TCP in this case?

P2P Network: Largest message is about 300KB. Most of the messages are smaller (5-50kb). It is perfectly OK if they do not receive the messages, as they will initiate bootstrap (re-send). I am leaning towards UDP, and you guessed it, its a blockchain…
user2584960
  • 645
  • 1
  • 6
  • 20
0
votes
1 answer

How to identify online users in through Webrtc API

How to Identify Online users in WebRTC app? Iam using Sip signalling and Sip.js. Iam unable to find proper documentation or on web. I thought to send invite request to all contacts and if one responds,that one is online,BUT for sending request back…
coldcoder8502
  • 77
  • 1
  • 5
0
votes
1 answer

Make complex apps using p2p connections

in the last days I seen a technology called WebRTC that permit directly in Javascript to make p2p connections. What I've said to myself is: can i make complex web apps, like forums or social networks, that actually need databases to work fine, with…
0
votes
0 answers

what is required to make cloud based decentrilzed storage?

So I want to make or rather want to learn how to implement decentralised storage. And I did some research on it that I have to developed P2P sharing network, encryption/decryption, data sharding etc. But I am still confused about how to implement…
0
votes
1 answer

Would a phone app based DHT network be practical?

I would like to implement a DHT network, similar to the one used in Bittorrent but instead of being used to find peer lists for Bittorrent swarms, it will be used for finding peer lists for different network shards. The thing is that the primary…
0
votes
0 answers

Socket application getting error on sending message server-client (connection exception at first and bind exception on next try)

I am trying create a Server-Client chatting application using Java Socket on Android platform with Wifi P2P Connection for my college's thesis. The app will allow the Server to create a new Chat Room and the Client will join the Chat Room. However,…
Archenians
  • 11
  • 2
0
votes
0 answers

How can I have two clients behind NATs communicate without port forwarding or hole punching?

I want to make a peer-to-peer program in Python, but I keep running into the same issue of how to get them to communicate. I always run into the same answers. Use a central server UDP hole punching, or use UPnP to tell the router to open a port. …
Daffy
  • 841
  • 9
  • 23
0
votes
1 answer

WebRTC stream from 'always connected peer'

Hi i have a RTSP stream (video) coming from my Rasberry Pi and want to stream to a browser for clients to view without using plugins such as flash. From my understanding of webRTC and it's P2P nature both peers need to connect to a signalling server…
0
votes
0 answers

Is there a better way to send Image via P2P through internet than using CocoaAsyncSocket?

I'm a newbie developer especially in networking and I have read a lot and searched a lot about it but using https://github.com/robbiehanson/CocoaAsyncSocket seems to me to be the only solution to send an image/Data through P2P through the internet…
Reza.Ab
  • 1,195
  • 1
  • 11
  • 21
0
votes
0 answers

Keep a unified time on a P2P network

Im developing a P2P network, using Synapse for lazarus. I did almost everything, but im unable to find a way to keep a "global" time inside the network, since each user have its own local time (and timestamp) so when they sent a message to the…
0
votes
1 answer

Solving NAT problems on P2P

I am developing an applet for browser-to-browser application where User A knows User B's IP, requests connection through a port, and User B responds the request. The main problem is that both users are behind a NAT, so just with the IP and the port…
user411103
0
votes
1 answer

Is any method with iphone broadcast message to others iphones without internet?

Is any method with iphone broadcast message to others iphones without internet? If all iphones have the same program?
Liutas
  • 5,547
  • 4
  • 23
  • 22
0
votes
5 answers

Need help for udp hole punching

Hey I'am working on a project to create a p2p network in java. I have built the n/w using UDP for the local lan and I am working on sending the UDP datagram across the internet. I came across this concept called UDP hole punching but cannot seem to…
anonymous123
  • 1,271
  • 6
  • 19
  • 43
1 2 3
99
100