I want to build a decentralized, reddit-like system using P2P. What existing p2p library should I base it on?

前端 未结 3 1671
无人共我
无人共我 2021-01-31 22:39

I want to build a decentralized, reddit-like system using P2P. Basically, I want to retain the basic capabilities of reddit, but make it decentralized, to make it more robust an

3条回答
  •  栀梦
    栀梦 (楼主)
    2021-01-31 23:17

    I haven't had a chance to use it, but Telehash seems to have been made for this kind of application. Peer2Peer apps have a particular challenge dealing with the restrictions of firewalls... since Telehash is based on UDP, it's well suited for hole-punching through firewalls.

    EDIT for static_rtti's comment:

    If code velocity is a requirement libjingle has a lot of effort going into it, but is primarily geared towards XMPP. You can port off parts of the ICE code and at least get hole-punching. See the libjingle architecture overview for details about their implementation.

提交回复
热议问题