Uploaded image for project: 'Rust Driver'
  1. Rust Driver
  2. RUST-1994

Implement happy eyeballs for TCP connection

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.1.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Hide

      DRIVERS-2949:
      Summary of necessary driver changes

      •  

      Commits for syncing spec/prose tests
      (and/or refer to an existing language POC if needed)

      •  

      Context for other referenced/linked tickets

      •  
      Show
      DRIVERS-2949: Summary of necessary driver changes   Commits for syncing spec/prose tests (and/or refer to an existing language POC if needed)   Context for other referenced/linked tickets  
    • Rust Drivers
    • Not Needed
    • Hide

      1. What would you like to communicate to the user about this feature?
      2. Would you like the user to see examples of the syntax and/or executable code and its output?
      3. Which versions of the driver/connector does this apply to?

      Show
      1. What would you like to communicate to the user about this feature? 2. Would you like the user to see examples of the syntax and/or executable code and its output? 3. Which versions of the driver/connector does this apply to?

      We currently prefer IPV4 addresses when establishing a TCP connection. This causes connection establishment delays when a network only supports IPV6 (see this issue for an example). We previously considered using happy eyeballs in RUST-257, but decided on the IPV4-first approach for simplicity and consistency with other drivers (comment, discussion). We should revisit this decision to improve connection times for use cases like the one in the linked issue. We should investigate whether there's already a suitable implementation of this in the ecosystem, e.g. the happy_eyeballs crate.

            Assignee:
            abraham.egnor@mongodb.com Abraham Egnor
            Reporter:
            isabel.atkinson@mongodb.com Isabel Atkinson
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: