rdv

Relay-assisted p2p connectivity library, protocol and CLI in Golang (by betamos)

Rdv Alternatives

Similar projects and alternatives to rdv

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better rdv alternative or higher similarity.

rdv reviews and mentions

Posts with mentions or reviews of rdv. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-03-10.
  • LocalSend: Open-source, cross-platform file sharing to nearby devices
    35 projects | news.ycombinator.com | 10 Mar 2024
    Haha that’s currently a way to explain to people who are used to hosting/sync based cloud solutions that anything that is (a) local p2p and (b) doesn’t need to upload-before-download is much faster. It’s also faster than WebRTC based solutions which there are dozens, WebRTC kind of sucks for large stuff.

    That said, the next version will have multi connection tcp striping, which is a lot faster than any single tcp solution in many cases, especially over long distances, similar to some ftp/usenet clients. (Spoiler there will be online p2p transfers. See https://github.com/betamos/rdv if curious)

  • How Nat Traversal Works
    1 project | news.ycombinator.com | 3 Aug 2023
    This is an incredible resource on NAT traversal in practice. I used it as a reference while building a server-assisted p2p-over-TCP[1] system. The post covers UDP but all of the theory applies to TCP as well – you just need some SO_REUSEPORT dual dial/listen magic so the code will look a bit different.

    The post alludes to this, but I think NAT traversal is an inaccurate and confusing term. I like “hole punching” a lot more as a general term. It gets the message across without the myopic connotation that it’s all about NATs – it isn’t.

    [1]: https://github.com/betamos/rdv

  • Anytype – open-source, local-first, P2P Notion alternative
    8 projects | news.ycombinator.com | 20 Jul 2023
    > In trying to come up with a WebRTC solution, I think I've settled on defeat. The local network syncing works like a charm, but I haven't had any luck in trying to get around a TURN server by using an API endpoint to provide routing data. It would be nice if there were other prebuilts than COTURN (something deployable to a deno/node server would be ideal),

    The bad news is that if you want something that works in all instances, you need a relay of _some_ sort, because p2p isn't possible/feasible in all cases. Bittorrent (for instance) works around that limitation by simply having many-to-many peering and relying on large numbers, to be reliable. But that doesn't work for 1:1.

    The good news is that maintaining a relay (or TURN, with WebRTC), need not be expensive. Yes, you need a server, and perhaps some IP-based rate limiting, but that can handle a LOT of connections and small data.

    I created https://github.com/betamos/rdv for this purpose, an extremely light-weight alternative to WebRTC, but for TCP only (BYO identity, auth and encryption). The p2p success rate is, anecdotally, very high. However, you cannot use it from a web browser.

    Feel free to reach out (see profile), happy to chat about p2p whether or not you use this project.

  • A note from our sponsor - InfluxDB
    www.influxdata.com | 9 May 2024
    Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality. Learn more →

Stats

Basic rdv repo stats
3
9
8.6
10 days ago

betamos/rdv is an open source project licensed under Apache License 2.0 which is an OSI approved license.

The primary programming language of rdv is Go.


Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com