• @just_another_person@lemmy.world
    link
    fedilink
    English
    407 months 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.

    • Chozo
      link
      fedilink
      177 months ago

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

    • @catloaf@lemm.ee
      link
      fedilink
      English
      147 months 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
        157 months 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.

        • XNX
          link
          fedilink
          English
          17 months ago

          Bluesky has videos though?

          • @just_another_person@lemmy.world
            link
            fedilink
            English
            27 months ago

            Bluesky has videos linked to a static host by a different site or provider. They are not themselves the host of those videos. Different scenario.

    • Deceptichum
      link
      fedilink
      English
      97 months ago

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

      • Kairos
        link
        fedilink
        English
        107 months ago

        Because Activity Pub is not a data salad. A video lives in a specific place.

      • paraphrand
        link
        fedilink
        English
        97 months ago

        I don’t think it has been proven that Loops is viable at scale yet.

        • Deceptichum
          link
          fedilink
          English
          7
          edit-2
          7 months 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?

          • Froggie 🐸
            link
            fedilink
            English
            37 months 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
            37 months 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.

      • @just_another_person@lemmy.world
        link
        fedilink
        English
        57 months 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.

          • Saik0
            link
            fedilink
            English
            47 months 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).

              • Saik0
                link
                fedilink
                English
                27 months 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.

                  • Saik0
                    link
                    fedilink
                    English
                    17 months 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
            3
            edit-2
            7 months 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.