Live data from Hacker News

Ask HN: Recommendations for Peer to Peer Frameworks?

news.ycombinator.com

21–30 of 78 posts

Re: Ask HN: Recommendations for Peer to Peer Frameworks?

#21
post #2

How about IPFS? OpenBazaar is an IPFS case study. They recently released a revamped v2 built with Go.

Yeah, I'd look at IPFS's networking library, libp2p. It's the peer-to-peer backbone of IPFS and has a big community and active development https://libp2p.io/ . It's also implemented in both go and js (as most of IPFS is)

We moved away from libp2p at the project I work on because of major instability problems in browsers. Our dapp that used libp2p would crash after a few minutes and was generally not easy to use.

EDIT: I'm referring to the JS version here.

Re: Ask HN: Recommendations for Peer to Peer Frameworks?

#22
post #6
post #2

How about IPFS? OpenBazaar is an IPFS case study. They recently released a revamped v2 built with Go.

That's interesting, I hadn't thought about IPFS - it doesn't really have a strong message passing semantic so much as it has good replication properties, but maybe you could build a distributed log on top of it.

By good "replication properties" you mean "having to run many scripts/nodes yourself" to get widely replicated that is true.

We found IPFS in general to be awesome software that just wasn't quite ready for production.

There's IPFS-cluster[0] but that's still in capital-letters ALPHA.

https://github.com/ipfs/ipfs-cluster

Re: Ask HN: Recommendations for Peer to Peer Frameworks?

#23

Awesome List of P2P resources: https://github.com/kgryte/awesome-peer-to-peer Personal bias tilts to web tech. WebRTC will require you to centrally implement all your peer broker and logic. But take a look at something like Peer5 Video CDN to appreciate scalability: https://www.peer5.com/

Hey, Benji from Peer5 here - our product is really cool and helps you scale your video delivery but I don't believe it works in this case.

We solve the problem of distributing HLS/DASH delivery over large p2p swarms and scaling video. Doesn't sound like it could work for OP.

Thanks a lot for keeping us in mind though :)

Re: Ask HN: Recommendations for Peer to Peer Frameworks?

#25
post #6
post #2

How about IPFS? OpenBazaar is an IPFS case study. They recently released a revamped v2 built with Go.

That's interesting, I hadn't thought about IPFS - it doesn't really have a strong message passing semantic so much as it has good replication properties, but maybe you could build a distributed log on top of it.

They are working on this: https://github.com/orbitdb/ipfs-log

Re: Ask HN: Recommendations for Peer to Peer Frameworks?

#26

Look into libp2p created by the Protocol Labs team (created IPFS). We're thinking of moving to this framework internally at Ethereum.

Second vote for libp2p. It looks very mature and generic enough to build whatever off of it. It has implementations in js and go.

If you end up rolling your own, I found js to have the most building blocks (pmp and upnp libraries).

Re: Ask HN: Recommendations for Peer to Peer Frameworks?

#28

Look into libp2p created by the Protocol Labs team (created IPFS). We're thinking of moving to this framework internally at Ethereum.

>We're thinking of moving to this framework internally at Ethereum.

Why not GNUnet? Check the recently released 181 pages long dissertation on it:

https://grothoff.org/christian/habil.pdf

Post reply on HN