• TeaHands@lemmy.world
      link
      fedilink
      arrow-up
      3
      ·
      1 year ago

      Problem is posts have a different ID on each instance they federate to. It’s a bit of a bugger.

        • TeaHands@lemmy.world
          link
          fedilink
          arrow-up
          2
          ·
          1 year ago

          Yeah I wonder if the logic is that since instances don’t know about each other (until, of course, they do) it would be possible to have duplicate IDs betwixt them so would be inherently unreliable. Idk, hopefully all of this gets sorted out by someone way smarter than me.

          • bionicjoey@lemmy.ca
            link
            fedilink
            arrow-up
            2
            ·
            1 year ago

            UUIDs are a computer science concept where you use some math and some black magic to guarantee that you have generated a unique identifier, even in an environment with federation. This concept predates the fediverse since this is needed for lots of different use-cases. Basically anything with horizontal scaling, orchestration, or p2p needs something like this in order to prevent collisions.