Skip to content

It's (beyond) time to sunset the *-star protocols 🌅 #385

@daviddias

Description

@daviddias

Long story short for context:

Proposal: Let's sunset the *-star protocols 🌅

To clarify:

Direct benefits:

  • By cutting of the *-star transports, we would be saving the time from reinventing the wheel and also reduce the confusion from the users.
  • Any IPFS node could then be the rendezvous or the relaying address (meaning that we can use the go-libp2p to handle with even more clients). More
    • We avoid spending time creating custom instrumentation and use instead the instrumentation that IPFS & libp2p have.
    • Any security, perf improvement or memory leak fix will be directly on libp2p and/or IPFS rather than external "temporary" code.
  • People would not have to rely on a centralized of custom built infrastructure, instead, they could use it with any IPFS node.

Candidate Roadmap:

  • Milestone 1: Sunset any variation of the websocket-star (star, stardust, multi, and so on)
    • Verify that https://github.com/libp2p/js-libp2p-rendezvous is complete and well tested
    • Remove any trace of *-star transport from js-libp2p (examples, docs)
    • Remove any trace of *-star transport from js-ipfs (examples, docs, base config)
    • Upgrade PeerPad to use rendezvous & circuit-relay to find other peers (dropping webrtc-star)
    • Make it default with js-ipfs
  • Milestone 2: Sunset webrtc-star (easier, if the above is done first)
    • Create webrtc-circuit-relay-exchange (for lack of better name for now) that uses the Circuit Relay to exchange the SDP offer.
    • Test it with PeerPad
    • Make it default on js-ipfs

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions