Questions tagged [p2p]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
5
votes
1answer
475 views

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 ...
0
votes
1answer
246 views

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 ...
3
votes
1answer
221 views

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 ...
0
votes
0answers
38 views

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 ...
1
vote
0answers
88 views

Proof-of-concept of brokerless P2P NServiceBus with Request-Response. Worth trying?

I'm new to message queueing. I'm trying to do a proof-of-concept of a messaging architecture for communication between multiple windows desktop apps of the same type. In simpler words, several ...
3
votes
3answers
887 views

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 ...
1
vote
0answers
227 views

How does P2P decentralization works?

In a nutshell how does decentralization work in a P2P network in general, similar to how diaspora* does it. Currently there is 100+ pods, but it seems there are no limitations on pods number. The ...
1
vote
1answer
130 views

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

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 ...
1
vote
1answer
144 views

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: <img src="magnet:?xt=urn:sha1:...
0
votes
2answers
409 views

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 ...
1
vote
1answer
415 views

Building a serverless p2p CMS/System

I'm thinking about building an Open Source, serverless, offline-replicated p2p CMS, but I'm concerned about it really working in a real environment. How would you go about doing that, reducing the ...
2
votes
1answer
1k views

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 ...
5
votes
1answer
2k views

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 ...
8
votes
1answer
970 views

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 ...
7
votes
1answer
354 views

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 ...
0
votes
2answers
371 views

Are there any Clojure libraries for p2p? [closed]

I'm a web developer, but lately I have been learning Clojure and now I'm interested in creating a p2p application. And since Clojure is a general purpose language, I guess I can just use that. Any ...
0
votes
1answer
4k views

Is it possible for a browser to use peer-to-peer browsing? [closed]

I was recently asked this from my friend after explaining how µTorrent worked, he then went to ask me, "Could this be used for browsing the web?", (not a direct quote) but I found my self thinking ...
0
votes
1answer
195 views

How to create p2p enviroment in single laptop?

I'm developing a peer-to-peer dataspace application. For that I want to create a peer-to-peer environment locally (on a single machine, a laptop). Is there a any method or tool to do that?
10
votes
1answer
2k views

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 ...