Skip to content

Consider using reliable UDP for block transfers #804

Closed

Description

@AudriusButkevicius

This is a long-shot, over-engineering and is not required, but a interesting topic nonetheless which could be a unique selling point to Syncthing.

Some interesting ideas can be found here

I seems that the easiest one to adopt would be UDT with bindings already available for most languages.

Activity

  1. calmh commented on Oct 8, 2014

    @calmh
    Member

    👍 Yep. I've made several false starts, even one or two at starting a reimplementation of UDT in Go.

  2. added
    enhancement
    on Oct 8, 2014
  3. AudriusButkevicius commented on Oct 8, 2014

    @AudriusButkevicius
    MemberAuthor

    Reimplementing UDT in Go would be awesome, how far did you get?
    What's your views on using the C library and just making some bindings?

  4. calmh commented on Oct 8, 2014

    @calmh
    Member

    Reimplementing UDT in Go would be awesome, how far did you get?

    Just serializing some structures... But the paper is fairly readable, it should be doable.

    What's your views on using the C library and just making some bindings?

    Painful to build. (Same as with sqlite) :(

  5. cebe commented on Nov 14, 2014

    @cebe

    This sounds very interesting. Would be good to compose a list of requirements to describe what syncthing needs from the protocol. e.g. what are the requirements in terms of reliability, package ordering, speed, etc...

  6. calmh commented on Nov 14, 2014

    @calmh
    Member

    Yeah I'm currently hacking on https://github.com/calmh/dst; it's working, but needs a few more changes and fixes to the flow/congestion control, and some more testing. It's very much inspired by UDT, but somewhat simplified and tweaked to fit our purposes better.

  7. modified the milestone: on Jan 15, 2015
  8. dembach commented on Feb 5, 2015

    @dembach

    i am really in need of a firewall hole punching solution , due to a bad companies firewall solution.

    please consider this for a shorter term solution , please

  9. jpjp commented on Feb 5, 2015

    @jpjp
    Contributor

    That file has a different license. Is it compatible? If not posting could be a bad idea.

  10. calmh commented on Feb 9, 2015

    @calmh
    Member

    RUDP isn't usable as is, unfortunately. However I've recently fixed https://github.com/calmh/dst to the point where it seems usable, so will be making some experiments with that soon.

  11. dembach commented on Feb 9, 2015

    @dembach

    Maybe I can try that also at my company to see if the hole punching works for me , too

    Hope you are going to run the builds for Windows and Linux ...got no go on Linux yet

    Cheers

    Markus

  12. 7 remaining items

  13. locked and limited conversation to collaborators on Aug 27, 2015
  14. removed this from the milestone on Nov 17, 2015
  15. removed their assignment
    on Nov 22, 2015
  16. modified the milestone: on Jan 1, 2016
  17. modified the milestones: v0.14 "Dysprosium Dragonfly", on May 4, 2016
  18. modified the milestones: v0.14 "Dysprosium Dragonfly", on Jun 8, 2016
  19. removed this from the milestone on Aug 16, 2016
  20. added this to the milestone on Sep 3, 2016
  21. added a commit that references this issue on Jan 1, 2018
    0da0774
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions