Disclaimer: I wrote this article and made this website.

There was some talk of this issue in the recent fediverse inefficiencies thread. I’m hopeful that in the future we’ll have a decentralized solution for file hosting but for now I deeply believe that users should pay for their own file hosting.

  • TORFdot0@lemmy.world
    link
    fedilink
    English
    arrow-up
    3
    ·
    2 hours ago

    Is a p2p system for media with the instances just hosting magnet links too slow for fediverse purposes? To me this seems like the most resilient way to handle media in a decentralized system

    • ayyy@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      2
      ·
      2 hours ago

      If a social network is to take off, it must be accessible from mobile devices behind CGNAT (carrier grade network address translation).

  • tehn00bi@lemmy.world
    link
    fedilink
    English
    arrow-up
    9
    arrow-down
    1
    ·
    3 hours ago

    Is file hosting really a must? I mean Reddit and feddit are basically forums. And not many forums allow file uploads. Also, we should have retention limits. Low value posts are allowed to fade away. High value posts that have some level of interaction stay alive longer.

    • Azzu@lemm.ee
      link
      fedilink
      English
      arrow-up
      1
      ·
      36 minutes ago

      Reddit is basically entirely image or video posts, all hosted by reddit directly.

    • hendrik@palaver.p3x.de
      link
      fedilink
      English
      arrow-up
      18
      ·
      3 hours ago

      A lot of pictures and memes get posted here. And every other post shows a thumbnail picture. These images are all files.

      • tehn00bi@lemmy.world
        link
        fedilink
        English
        arrow-up
        8
        ·
        3 hours ago

        Not denying that. But maybe we should accept that photos and memes and whatnot aren’t that valuable and limit their size or the volume allowed per user. Just a thought.

        • nasi_goreng@lemmy.zip
          link
          fedilink
          English
          arrow-up
          1
          ·
          35 minutes ago

          limit their size or the volume allowed per user

          Fedi software like Misskey already did exactly that. Each user have limited “drive” which can be upgraded/customized per user. People even reuse image they already have on their drive, so it won’t be any duplicate files.

        • hendrik@palaver.p3x.de
          link
          fedilink
          English
          arrow-up
          7
          arrow-down
          1
          ·
          edit-2
          3 hours ago

          Yeah, I wonder if that would fly with the users. I just scrolled through my timeline and nearly every post has some colorful image to it. (except in Ask Lemmy and No Stupid Questions.) I’m not sure if users would accept this platform if it were mostly textual. And putting restrictions in place would certainly reduce the number of images. Scrolling through Lemmy would feel like Hackernews, not any modern social media platform. I doubt mainstream people appreciate that.

          But yeah, that’d be possible. We could just close the meme communities for example. Or exclude them from individual instances to save some space there.

  • NuXCOM_90Percent@lemmy.zip
    link
    fedilink
    English
    arrow-up
    60
    ·
    6 hours ago

    We totally need sustainable file hosting. Freedom!

    Wait… the fuck did you just upload? Oh god. Oh god no. Do I have to call the cops on you? Oh no. Wait, does this count as possession? FUCK!!!

    We need someone else to handle the totally sustainable file hosting. Freedom!

    • grue@lemmy.world
      link
      fedilink
      English
      arrow-up
      3
      ·
      3 hours ago

      Seems to me that this is a use-case Freenet Hyphanet would be good for, both because it distributes the problem of file storage load and because it eliminates responsibility for each host to police his node by making it impossible for anyone to know which file chunks said node is hosting.

      • NuXCOM_90Percent@lemmy.zip
        link
        fedilink
        English
        arrow-up
        5
        ·
        3 hours ago

        Nothing solves the problem of CSAM quite like… making everyone partially culpable in the storage and distribution of CSAM.

        You can’t prove I was hosting child porn. Statistically, we all only had a 70% probability of having it on our computers

        • grue@lemmy.world
          link
          fedilink
          English
          arrow-up
          3
          ·
          3 hours ago

          Stuff that isn’t accessed eventually gets deleted. If the Lemmy instances (which are clearnet, of course) delete the references to it, it would go away.

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

            Which gets back to volunteers going through and moderating it. And the ethical and moral question of whether people who upload it are reported.

            And… honestly? if there is even a 20% chance that running a file sharing node (because I just love to give away both bandwidth and storage…) is being used to store CSAM? I ain’t doing that shit and most people will similarly run screaming and call the cops.

    • Kalkaline @leminal.space
      link
      fedilink
      English
      arrow-up
      18
      ·
      6 hours ago

      Yep, there needs to be moderation tools that can be quickly deployed to stop the illegal/immoral/evil stuff from spreading and taking over self-hosted servers.

      • NuXCOM_90Percent@lemmy.zip
        link
        fedilink
        English
        arrow-up
        19
        ·
        6 hours ago

        And moderation of this kind of content almost always sounds like torture when you hear about what facebook and the like are outsourcing.

        Theoretically, this is a good problem for computer vision/machine learning. But there are a LOT of false positives (I think it was Aftermath who did an article on a study of when a nipple becomes female?). And… what ethical responsibility do you have to report on the fiftieth time that SheIsReallyAnEightThousandYearOldDragon_6969 uploaded CSAM? And how quick do you think people are going to lose faith in you and start wondering if you’ll also report on the rampant piracy?

        And… there are also false negatives. At which point you find out you have been hosting something truly heinous for the past few months… possibly when local law enforcement tells you.

        Like a lot of things: it sounds great. But nobody in their right mind is going to host this for free. And once you start accepting money you start opening yourself up to a LOT of regulations.

        • Kalkaline @leminal.space
          link
          fedilink
          English
          arrow-up
          3
          ·
          5 hours ago

          It doesn’t even have to be to that extent, just being able to slow/stop that awful content from being uploaded by a bunch of malicious bots. Even if it’s not malicious content, you could still have people uploading spam that eats up the server space.

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

        Illegal I can begrudgingly agree with. Even though I am a proponent for piracy, I will conceed that for growth’s sake, the tools need a clear well defined path to moderation.

        That being said, who’s to say what IS immoral and evil?

        In the republicans minds, porn is evil and should be banned. Trans rights are evil and should be banned. Abortion is evil and should be banned.

        I disagree with all those claims. I do not think any of them are immoral, or evil.

        I think pineapple on pizza is wrong, and evil. Some agree, others don’t. If I had my way, promoting of pineapple on pizza would be banned.

        Now, who’s to say what is, and what isn’t evil? I think the only clear line to a moderation approach is to have a clear, unquestionable set of rules. These rules are to be based on public laws.

        Everything else, I feel you should have the freedom to do as you wish. But also, I believe other people that you don’t agree with should be free to do as they wish.

        You may never know how someone feels, or understand their perspective, but as long as they aren’t breaking laws, I feel they should have the ability to feel that way consequence free.

        I may not like that you put pineapples on your pizza, but I feel that you should have the right to enjoy it. Even if it goes against MY views as to what constitutes a REAL pizza! Much to my surprise, pineapple on pizza ISN’T illegal. So you should have the right to enjoy it…

        And yes. I did take the most pandtentic example I could think of, in order to display the absurdity of the concept of how easy it is to accept others rights in this world that don’t affect you.

        Now just apply that same concept to every other example in the world. Then take into consideration that by using vague undefined terms to define your rules, you create grey area that’s easy to exploit. Who’s to say what IS evil? Adults told their teenagers in the 1950s that Elvis was evil. Parents in the 1920s told their teenagers that jazz was evil.

        We need to define the terms that define our rules.

        • hendrik@palaver.p3x.de
          link
          fedilink
          English
          arrow-up
          1
          ·
          edit-2
          4 hours ago

          In the federated world it’s the moderators and admins who get to make the rules and/or decide what they deem appropriate. It’s as simple as that.

  • hperrin@lemmy.world
    link
    fedilink
    English
    arrow-up
    24
    ·
    edit-2
    6 hours ago

    Ok, hear me out.

    We find the users with the slowest internet and start sending them all the data. They don’t have to keep anything on disk. Then they send it all back and forth between each other. Any time a user makes a request, we just wait for one of the slow nodes to come across the data and send it out.

    We use the slowest wires for all the storage. It’s fool proof.

  • Charlie Fish@eventfrontier.com
    link
    fedilink
    English
    arrow-up
    5
    ·
    5 hours ago

    I know I’m not necessarily the target audience for this. But it feels too expensive. 6x the price of Cloudflare R2, almost 13x the price of Wasabi. Even iCloud storage is $0.99 for 50 GB with a 5 GB free tier. But again, I know I’m not necessarily the target audience as I have a lot of technical skills that maybe average users don’t have.

    If you ever get around to building an API, and are interested in partnerships, let me know. Maybe there is a possibility for integration into !echo@eventfrontier.com 😉.

    • sosodev@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      2
      ·
      5 hours ago

      Yeah, I wish it could be cheaper but I’m not a corporation. Instead I’m dependent on them to make a simpler product.

      The target audience is certainly not developers because they can jump through the hoops to setup their own S3 + CDN or similar.

    • sosodev@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      13
      ·
      6 hours ago

      Jortage is a really interesting approach. It definitely helps reduce the impact of the file hosting problem but it doesn’t fully address the underlying cost issue. The cost of storing files grows every month indefinitely while donations typically don’t.

      I would like to see a file hosting pool come to lemmy though. So I will look into it. :)

  • Valmond@lemmy.world
    link
    fedilink
    English
    arrow-up
    5
    ·
    5 hours ago

    I think Tenfingers could be an interesting option as hosters do not know what they host, the data can be modified, and it’s 100% decentralised.

  • bulwark@lemmy.world
    link
    fedilink
    English
    arrow-up
    5
    ·
    6 hours ago

    I wish there was some version of PBS for Lemmy, like public funds for hosting. I’ll admit I haven’t really thought this through, so there’s probably some problems with my idea.

  • JaggedRobotPubes@lemmy.world
    link
    fedilink
    English
    arrow-up
    5
    ·
    6 hours ago

    This feels like something the Fediverse is ultimately going to build for itself. I know jack squat about the details, but it’s gonna have to be a thing eventually, I think.

  • Lost_My_Mind@lemmy.world
    link
    fedilink
    English
    arrow-up
    4
    ·
    6 hours ago

    What is stopping some big giant, let’s say Yahoo/Verizon from buying a shitload of storage, starting their own private instance which is open to the public, but private in the sense that only Verizon employees are admins and mods. Only Verizon controls things. Then advertise to the point that the average person on the street knows that Verizon.Lemmy exists, and assosiates Lemmy with being a Verizon thing? What is stopping big tech from pouring the money required for this concept to take off, and using their control over their instance from making the decentralized a centralized service in the general public’s minds?

    Right now Lemmy is 60k people. Ok. What if Lemmy was 200 million people, and only 60k knew it was a decentralized service? Everyone else just thought Verizon owned Lemmy?

    • CarbonIceDragon@pawb.social
      link
      fedilink
      English
      arrow-up
      11
      ·
      6 hours ago

      Isnt this the exact reason why there was such concern over the idea of Threads federating with the fediverse at large?

    • smeg@feddit.uk
      link
      fedilink
      English
      arrow-up
      1
      ·
      5 hours ago

      Either they federate and all their users are exposed to the rest of the fediverse, or they don’t and they may as well be a separate thing

      • Lost_My_Mind@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        ·
        4 hours ago

        Yeah. What I’m saying is, they federate, but people have no idea what “federate” means. So they’d come here, and see “@smeg@feddit.uk” and not understand what feddit.uk was.

        They would see you, and think you are a user of the verizon owned service. Not question it one bit, and just move on thinking it’s all verizon.

        The same way people in Atlanta will say “I want a coke” “What kind of coke?” “Root Beer”.

        Or the same way parents in the 90s would say “I bought you a Nintendo Game!” then you open it, and it’s a Sega Saturn disc, when you have Sony Playstation. It’s all just a Nintendo to them.

        I’m saying if Verizon grew Lemmy to 200 million users, and all except 60k were on the Verizon instance, then despite being incorrect, Lemmy becomes “The Verizon owned Facebook”.

        Doesn’t matter that it’s federated.

        • smeg@feddit.uk
          link
          fedilink
          English
          arrow-up
          1
          ·
          4 hours ago

          I guess that’s what instances are trying to avoid by preemptively blocking Threads. If everyone else blocks it then Lemmy carries on existing as it is. And I can’t imagine big corpo wouldn’t want to create their own name.

  • tofuwabohu@slrpnk.net
    link
    fedilink
    English
    arrow-up
    5
    ·
    7 hours ago

    Interesting approach, good luck! Admittedly I’m not sure if many users want to take their media uploading in their own hands and pay for it but maybe I’m wrong. Where are the images stored? Do you have your own hardware? Backups etc?

    Also since you’re interested in Fediverse media storage, I recently read about https://jortage.com/ It’s a third party storage for your instance with deduplication, pretty interesting idea. Takes away a bit of the federated part though

    • sosodev@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      2
      ·
      edit-2
      6 hours ago

      The files are uploaded to two separate S3 buckets. One is backed by Wasabi and the other is Backblaze. So if one fails, randomly bans my account, etc then I can switch the primary to the other and setup another mirror afterwards.

      Compute is hosted by fly.io and the CDN is bunny.net

      • hendrik@palaver.p3x.de
        link
        fedilink
        English
        arrow-up
        3
        ·
        edit-2
        3 hours ago

        I think most architecture design decisions are made by the developers of the fediverse projects. If the 3 Lemmy devs or the Mastodon maintainers agreed to do it… (And it’s technically feasible.) I suppose it could be done.

        I mean as long as it works seemlessly and doesn’t violate ActivityPub, we don’t really need a consensus of all the users and admins. We just need the server admins to install the next update.