• just_another_person@lemmy.world
    link
    fedilink
    English
    arrow-up
    41
    arrow-down
    1
    ·
    2 days ago

    Video will not work for AT whatsoever. Text and images, fine, but I’m pretty sure leveraging edge delivery of video is just not going to work out well for users. I think they’ll need a centralized host for that portion, or some fancy ways to offload bandwidth otherwise to prevent constant hammering of popular videos.

    • Ulrich@feddit.org
      link
      fedilink
      English
      arrow-up
      6
      arrow-down
      1
      ·
      19 hours ago

      PeerTube uses WebTorrent technology. Each server hosts a torrent tracker and each web browser viewing a video also shares it. This allows to share the load between the server itself and the clients as well as the bandwidth used through P2P technology.

      https://en.wikipedia.org/wiki/PeerTube

      • just_another_person@lemmy.world
        link
        fedilink
        English
        arrow-up
        5
        arrow-down
        1
        ·
        19 hours ago

        Yes, and it’s incredibly slow and wouldn’t scale to millions of users. If one user is high bandwidth, and another low, you’d have uneven distribution of traffic for a newly connecting user, meaning the entirety of whatever you’re about to watch won’t be completed in time for a good user interaction flow. The issue isn’t whether it’s technically possible or not, but if it’s functional enough for similar traffic as TikTok.

        The other issue with torrenting is that a lot of users may incur data charges if the service were to be constantly seeding other users on limited data plans or with data or speed caps in general. It’s just not the right tool for the job.

        • Ulrich@feddit.org
          link
          fedilink
          English
          arrow-up
          2
          arrow-down
          1
          ·
          edit-2
          19 hours ago

          It will scale just fine, so long as the ratio of instances:users is similar.

          The current ratio of consumers:creators on youtube is 41:1, by my research. A single server of sufficient power could easily serve thousands of users.

          • Saik0@lemmy.saik0.com
            link
            fedilink
            English
            arrow-up
            4
            arrow-down
            1
            ·
            18 hours ago

            by my research. A single server of sufficient power could easily serve thousands of users.

            That’s some shitty research you’ve done then.

            1000 users streaming something that’s 5mbps would be 5gbps.

            5gbps isn’t common for consumers… and costs a lot in a datacenter (about 4k/month on the cheaper end).

            • Ulrich@feddit.org
              link
              fedilink
              English
              arrow-up
              1
              arrow-down
              2
              ·
              edit-2
              17 hours ago

              Buddy, do you not know how periods work? That’s 2 different sentences you’ve mashed together and pretended they were one.

              Secondly, I didn’t say simultaneously.

              • Saik0@lemmy.saik0.com
                link
                fedilink
                English
                arrow-up
                3
                arrow-down
                1
                ·
                17 hours ago

                I do know how sentences work. I also know that paragraphs and posts sound be related to each other. Your sentences are not completely divorced from each other.

                The point was that you’re claiming to do research on something just to turn around and say something that WILDLY wrong. This discredits any amount of research you would have done.

                Doesn’t matter if you say simultaneously or not. You said THOUSANDS… I showed you just 1000. And this was ONLY looking at bandwidth. Not actual server costs.

                • Ulrich@feddit.org
                  link
                  fedilink
                  English
                  arrow-up
                  1
                  arrow-down
                  2
                  ·
                  edit-2
                  14 hours ago

                  The point was that you’re claiming to do research on something just to turn around and say something that WILDLY wrong

                  I claimed to do research on something very specific. If you have evidence to the contrary, please feel free to prove me wrong instead of just intentionally misrepresenting my statement.

                  Doesn’t matter if you say simultaneously or not.

                  …of course it does? A thousand simultaneous streams is not going to have the same load as a dozen…

                  • Saik0@lemmy.saik0.com
                    link
                    fedilink
                    English
                    arrow-up
                    1
                    ·
                    7 hours ago

                    So now you’ve backed down from “thousands of users” to a dozen?

                    If you have THOUSANDS OF USERS (your words)… you should probably at least plan for 1000 concurrents, probably more (remember you have to plan for peaks, not average).

                    You seem to be missing this repeatedly… I’m not sure how else to present it to you. You made the claim that a decent singular server should be able to host THOUSANDS (with an S… so multiple thousands.) I’m showing you that even if it’s just 1000 concurrents, you’re paying a heavy cost JUST for bandwidth… forget the server. You’re over your head if you think a single server is doing this shit.

                    I run a plex instance, I have 8gbps internet to my house. I could host probably 80-100 simultaneous streams on that bandwidth of raw blurays. My servers could not handle that load simultaneously (and they’re hooked up as 40gbps internally). If bandwidth is the easy side of this equation (it is)… and your assertions are already failing… Then you’re just plain wrong.

          • just_another_person@lemmy.world
            link
            fedilink
            English
            arrow-up
            2
            ·
            edit-2
            18 hours ago

            That’s not how this would have to work though. Even with dedicated seeding instances, the instantiation of a session for a torrent is LONG. Like 5s+ long. A request and response from a CDN is in the milliseconds. Users wouldn’t use a system that takes 5s just for the initial request for a single video, plus the additional time to sort for segments and recombining before it plays. Even in a fast-ish scenario, that’s like 10s alone.

            Imagine waiting 10s for a stupid internet video to even start playing to watch some kid dance with a rubber chicken in their pants.

            • Ulrich@feddit.org
              link
              fedilink
              English
              arrow-up
              1
              ·
              17 hours ago

              the instantiation of a session for a torrent is LONG. Like 5s+ long

              That’s weird because it works instantly for me.

    • Chozo@fedia.io
      link
      fedilink
      arrow-up
      18
      arrow-down
      1
      ·
      1 day ago

      Could implement torrents, which I believe is how Peertube handles it.

    • catloaf@lemm.ee
      link
      fedilink
      English
      arrow-up
      15
      arrow-down
      1
      ·
      2 days ago

      some fancy ways to offload bandwidth otherwise to prevent constant hammering of popular videos

      it’s called a CDN

      • just_another_person@lemmy.world
        link
        fedilink
        English
        arrow-up
        16
        arrow-down
        3
        ·
        2 days ago

        CDN won’t scale to millions of users all uploading videos on a decentralized system. Article is specifically talking about AT Protocol which doesn’t account for video. Making a global CDN distribution of videos from decentralized sources is whole other ball of wax.

    • Deceptichum@quokk.au
      link
      fedilink
      English
      arrow-up
      9
      ·
      1 day ago

      So why does it for for AP with Loops? What’s the fundamental difference between, isn’t the Fediverse the more decentralised system?

        • Deceptichum@quokk.au
          link
          fedilink
          English
          arrow-up
          8
          arrow-down
          1
          ·
          edit-2
          1 day ago

          Loops uses ActivityPub and feeds video in a TikTok like manner.

          What’s the difference that makes it not achievable for AT but okay for AP?

          • ptmb@lemmy.zip
            link
            fedilink
            English
            arrow-up
            2
            ·
            12 hours ago

            Long story short Activity Pub only pulls the content it needs from remote servers when it needs it and can choose how to handle media (serve the original or cache and proxy). It already is similar-ish to a CDN.

            AT-Proto is super complex, but my understanding is that a new server (app in AT-Proto parlance) needs to copy everything beforehand from all others, and needs to constantly replicate everything, wether it will be served or not, making the data transfers intractably massive.

          • just_another_person@lemmy.world
            link
            fedilink
            English
            arrow-up
            4
            arrow-down
            1
            ·
            1 day ago

            Because one costs money and another doesn’t. Simple fact.

            CDN distribution of content is 2X the cost of static hosted files. This isn’t a pendant saying “I CAN DO THIS” scenario, it’s “can it be monetized”, and in the case of of a video service on AT, absolutely not. Who do you think is paying for the hosting costs of a popular video in this scenario?

            Cuban doesn’t know WTF he’s talking about about at all, but if he wants to launch competition and pay for that, there is certainly an expectation that a return will be built. Ads all over the place.