Live data from Hacker News

Ask HN: Recommendations for Peer to Peer Frameworks?

news.ycombinator.com

11–20 of 78 posts

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

#12
I’m curious what your goal is. Do you want the complete immutability of transactions like bitcoin/blockchain; or do you want the peer/seed capability like BitTorrent and IPFS with a DHT (Kademlia)? I’d be interested in seeing a good list of the technology choices that can make up a P2P project if anyone knows of one, please share.

But you definitely should checkout IPFS and Kademlia.

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

#13
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)

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

#15

Look into crdt it’s the shit for collaborative editing (idk if that’s what you ares looking for tho).

Do you happen to know of a decent and easy-ish crdt library in Go?

Check github there’s plenty.

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

#16
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)

The wire protocol is practically almost not documented.

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

#18
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/

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

#20
Re blockchain technologies: while there is an obvious intersection between the world of blockchain and P2P, blockchain technologies are slow because BFT adds many requirements to the game. Basically blockchain technologies use P2P to reach a common state and this could not be necessary in your use case.

You can take a look at OpenBazaar and Particl for P2P implementations.

Post reply on HN