Hacker News new | ask | show | jobs
by rayvy 2420 days ago
P2P is for decentralization. Why would a centralized entity want to implement a decentralized service when they can create a centralized version of that same service faster, easier, and cheaper?

P2P is _hard_ with a capital H.

1 comments

Why hard?

On server maintain list of ips. Serve ip to the client-peer. If the connection gets spotty replace it or use direct connection to your server. All State exists on your server. Caching may be an anti-pattern depending.

What's so hard?

That's just overly complicated centralization.

Decentralization is allowing peers to find and negotiate their own connections and demoting your servers to a very powerful peer.

That's cute ;)