GNU social JP
  • FAQ
  • Login
GNU social JPは日本のGNU socialサーバーです。
Usage/ToS/admin/test/Pleroma FE
  • Public

    • Public
    • Network
    • Groups
    • Featured
    • Popular
    • People

Conversation

Notices

  1. Embed this notice
    daniel:// stenberg:// (bagder@mastodon.social)'s status on Friday, 11-Aug-2023 06:12:11 JST daniel:// stenberg:// daniel:// stenberg://

    Trying to explain happy eyeballs in a slide... (for the coming " mastering #curl...." presentation)

    In conversation Friday, 11-Aug-2023 06:12:11 JST from mastodon.social permalink

    Attachments


    1. https://files.mastodon.social/media_attachments/files/110/865/878/653/414/991/original/6411bba37ab685ec.jpg
    • Embed this notice
      daniel:// stenberg:// (bagder@mastodon.social)'s status on Friday, 11-Aug-2023 06:12:08 JST daniel:// stenberg:// daniel:// stenberg://
      in reply to
      • Jeroen Massar

      @jeroen happy eyeballs v2 is mostly a pipe dream unless you control every single layer, like Apple does and basically nobody else

      In conversation Friday, 11-Aug-2023 06:12:08 JST permalink
    • Embed this notice
      feld (feld@bikeshed.party)'s status on Friday, 11-Aug-2023 06:12:08 JST feld feld
      in reply to
      • Jeroen Massar
      can you expand upon that? What are all the different layers? I was thinking if the kernel and libc were good to go, you're probably going to be able to benefit from it
      In conversation Friday, 11-Aug-2023 06:12:08 JST permalink
    • Embed this notice
      Jeroen Massar (jeroen@secluded.ch)'s status on Friday, 11-Aug-2023 06:12:10 JST Jeroen Massar Jeroen Massar
      in reply to

      @bagder you do also do happy eyeballs over multiple IPv4 addresses and multiple IPv6 ones right? ;)

      And note that Apple published v2: https://www.rfc-editor.org/rfc/rfc8305 MacOS/iOS/etc editions have a lot more tricks to connect to the fastest (latency & bandwidth) place, if you use the right APIs to connect it is even quite simple -- but often not available for glibc ;)

      In conversation Friday, 11-Aug-2023 06:12:10 JST permalink

      Attachments

      1. No result found on File_thumbnail lookup.
        RFC 8305: Happy Eyeballs Version 2: Better Connectivity Using Concurrency
    • Embed this notice
      feld (feld@bikeshed.party)'s status on Friday, 11-Aug-2023 06:18:30 JST feld feld
      in reply to
      • Jeroen Massar
      Are you saying that it returns the addresses from A/AAAA queries back to the caller as it gets them instead of returning everything together? (which could obviously have delays in some situations, slowing the response time on that simple DNS resolution task... )
      In conversation Friday, 11-Aug-2023 06:18:30 JST permalink
    • Embed this notice
      daniel:// stenberg:// (bagder@mastodon.social)'s status on Friday, 11-Aug-2023 06:18:31 JST daniel:// stenberg:// daniel:// stenberg://
      in reply to
      • feld
      • Jeroen Massar

      @feld @jeroen the main problem with "better" happy eyeballs is to get the addresses back while the responses are arriving. There is no libc API for that. You need a custom resolver for that.

      In conversation Friday, 11-Aug-2023 06:18:31 JST permalink
    • Embed this notice
      daniel:// stenberg:// (bagder@mastodon.social)'s status on Friday, 11-Aug-2023 06:22:25 JST daniel:// stenberg:// daniel:// stenberg://
      in reply to
      • feld
      • Jeroen Massar

      @feld @jeroen I say it needs to, to do v2 happy eyeballs. getaddrinfo() returns them all at once.

      This said, Apple does a lot of other magic too, like caching info about success/failure per IP address etc

      In conversation Friday, 11-Aug-2023 06:22:25 JST permalink
    • Embed this notice
      feld (feld@bikeshed.party)'s status on Friday, 11-Aug-2023 06:22:25 JST feld feld
      in reply to
      • Jeroen Massar
      Wow that's crazy, but pretty neat.
      In conversation Friday, 11-Aug-2023 06:22:25 JST permalink

Feeds

  • Activity Streams
  • RSS 2.0
  • Atom
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.