Questions tagged [p2p]

22 questions
10
votes
2 answers

Using Bit Torrent for internal release management

We currently abuse our version control system and use it... pretty much as an FTP to store big release binaries (4+ GB). We are seeking to move away from this horrendous practice which has and continues to devolve and take more and more of IT's…
dukeofgaming
  • 13,943
  • 6
  • 50
  • 77
8
votes
1 answer

How to architect a P2P application

[Moved here at the suggestion of SO users (10k SO+)] I'd like to develop a peer-to-peer application. While I have a lot of experience in LOB apps, I'm new to the P2P arena. I've got a rough idea of how things should work but need some more details…
Basic
  • 234
  • 2
  • 10
7
votes
1 answer

What logic is used to control Lock and Update actions in P2P networks? (similar to Bitcoin)

Bitcoin relies on Proof of Work (hashing) to control the writing to a central repository (the blockchain). It also relies on a set of rules for these updates, and defines what happens if a conflict is found (longest chain wins) Using that as an…
makerofthings7
  • 6,038
  • 4
  • 39
  • 77
6
votes
1 answer

How does a pure P2P node connect to other nodes

I'm working on my first P2P app using C# core and gRPC and I'm finding it difficult to understand the concepts of how nodes find each other and build a routing table. For my design I'd like to only have nodes and no listener/directory/discovery…
user3953989
  • 218
  • 1
  • 7
5
votes
3 answers

How can I architect P2P discovery?

I've never really done network programming so this is all new to me. What I'm attempting to make is a Peer to Peer "chat" client. The idea is that anyone can connect to someone whose IP they know. All chat messages are to be distributed to…
NeomerArcana
  • 361
  • 3
  • 11
5
votes
1 answer

How do I bootstrap a P2P service so that users can locate each other?

My P2P app needs to locate peers, but I don't want to hard-code a DNS address... One example I've seen is bootstrapping via IRC, but I'd like to do this over HTTP/s if possible. What are my options and techniques for bootstrapping a P2P app?
makerofthings7
  • 6,038
  • 4
  • 39
  • 77
3
votes
1 answer

Blockchains - How are conflicts resolved between 2 or more servers hosting the same blockchain?

Context Suppose I program a blockchain which doesn't require proof-of-work and deploy it on 3 servers A, B and C. Now suppose server A and B receive requests to insert a new block with some data in the blockchain. Both A and B modify their local…
kapv89
  • 649
  • 1
  • 6
  • 12
2
votes
1 answer

Effective way to discover nodes in peer-to-peer network

I have nearly 300 devices interconnected in the local ipv4 network and would like to discover each other somehow. At the moment, I'm using mdns announce to achieve this (using avahi lib). This solution works up to 50 devices, but it goes more than…
Vencat
  • 129
  • 3
2
votes
1 answer

Simplest possible Paxos algorithm (distributed consensus) explanation

I am looking for a simple explanation of the Paxos algorithm that can be used for reaching consensus in a distributed environment (possibly peer to peer network). Every explanation I have encountered so far was a tough reading of multiple pages. I…
Kozuch
  • 361
  • 2
  • 9
1
vote
1 answer

Problem with peer verification on a zero-trust network

Edit: The question below is summarized by this question: I sent you [payment] to run computations. How can I make sure you are actually running the computations? Thanks to user253751 for this Edit: TL;DR I'm currently making an open source…
drake14w
  • 13
  • 3
1
vote
1 answer

Is it possible to implement a robust 2 node P2P protocol?

I am thinking about how to implement a P2P protocol with only two nodes. At first I read about different DHT implementations in the hope that this scenario would be feasible. Turns out most intrinsically expect more than a few nodes to be…
1
vote
1 answer

torrent support in browser

i was thinking it would be cool to implement native torrent support in a web browser so that the following html would render an image on the page: smiley face
mulllhausen
  • 211
  • 2
  • 8
0
votes
1 answer

A way to communicate between 100 clients on low budget

I have a group of 100 clients around the globe, that need to communicate between then self, fast. Each message that each of the clients sends needs to be broadcasted to everyone. The messages will be between 1 to 16 MB. Each client is expected to…
Ilya Gazman
  • 285
  • 5
  • 14
0
votes
0 answers

Correct way-data structure for advertising peers in a p2p network

Underlying problem In a case of a peer-to-peer discovery protocol,suppose we need to advertise peers in a manner that the network graph will grow such that we avoid cases of both too dense areas (e.g cliques) and too weakly connected areas (e.g…
ichantz
  • 368
  • 1
  • 8
0
votes
2 answers

Preventing ip resolvers in a skype-like program

I'm currently in the process of creating a Skype-like program, that uses a hybrid peer to peer system to communicate between users (i.e. server contains all users IPs, a client that wants to connect to a friend will tell the server, that will then…
1
2