Denver-Devs / heliograph

Just stuff
GNU General Public License v3.0
1 stars 0 forks source link

Propose network persistence #6

Closed killtheliterate closed 4 years ago

killtheliterate commented 9 years ago

We need to get in writing how we would like to persist the peer-to-peer network, given users can join and leave the network. We want to maintain the least amount of information about the fewest number of people on the server (the Super Peer).

talon commented 9 years ago

Opened up the Friends package.json found probably the two most relevant modules to us.

https://github.com/mafintosh/signalhub https://www.npmjs.com/package/webrtc-swarm

talon commented 9 years ago

I think we could prototype with that and if/when we run into limitations grok the implementation and modify whevs. This would mean, I think, we just use signalhub as the server. And then create heliograph-swarm which has signalhub IPs to connect to. Just like how 'friends-swarm' does it.

talon commented 9 years ago

Swarm Interface Proposal:

https://github.com/Denver-Devs/heliograph-swarm/pull/1

Server is just the signalhub module https://github.com/mafintosh/signalhub