This is an opportunity for any users, server admins, or interested third parties to ask anything they’d like to @[email protected] and I about Lemmy. This includes its development and future, as well as wider issues relevant to the social media landscape today.

Note: This will be the thread tmrw, so you can use this thread to ask and vote on questions beforehand.

Original Announcement thread

  • Dessalines@lemmy.mlOPM
    link
    fedilink
    English
    arrow-up
    6
    ·
    edit-2
    1 year ago

    One of the biggest burdens on people running lemmy servers, is the disk space taken up by images. Currently the internet has a massive problem with image (and other data in general) duplication: images get posted to 9 different platforms, copied everywhere, with none of them sharing any of the hosting costs.

    The static data distribution problem, is actually a completely solved problem: via torrents. The user experience of this tho, needs to be improved across the board in apps and web UIs. Lemmy’s markdown fields do support torrent links, but there’s no easy “upload audio” or “upload video” button, which ideally should hook in to an in-browser or system-wide torrent app.

    I’d love to see comment trees of audio and video replies, but to me this isn’t doable, and would explode server costs, unless someone devotes time to the solution above. In the meantime, people will just have to use other services to upload their audio / video content and link to it, or ideally, create torrents and share magnet links.

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

      This is interesting, I’ve never considered torrents for this exact case before. Has anyone done any groundwork to figure out what this would look like from a systems level? I’m having a hard time wrapping my head around the big picture - where the seeders come from, what are the incentives to keep certain kinds of data resilient, how to keep complexity away from the clients, etc.

      • Dessalines@lemmy.mlOPM
        link
        fedilink
        English
        arrow-up
        3
        ·
        1 year ago

        This issue isn’t specific to lemmy, but to the entire web, which has a serious duplicated static data problem. Webtorrents started to tackle these problems, but didn’t get too far IMO because the vast majority of torrent seeders use native clients.

        Essentially, people need to normalize seeding / posting torrent magnet links, and create platforms built around them. And web and app UIs need ways to view that data in a seamless way.

        If I had a lot more time I’d wanna work on it, but my backlog is years long.

      • hruzgar@feddit.de
        link
        fedilink
        English
        arrow-up
        2
        ·
        1 year ago

        The thing that came to my mind is to have all torrent links in some kind of blockchain, where new torrent links can be added all the time and if someone wants to help the community they can just download all the torrent links from the blockchain and help seeding the torrents. These can be images, videos, audios or whatever else. The problem hereby is it can get really big really fast. This could be prevented by adding size limits for specific file types and also removing torrents from the blockchain, which werent used by a user for a long time. Effectively we would have to add a counter for visits in the last 6months and also the last viewed date from a user for each torrent. That way old, not frequentely accessed data would be deleted and prevent the size to get too big.
        This general approach would prevent data loss but also help decentralize data. Of course this is just a concept which just came to my mind but it should be possible to implement i think

    • Menu@slrpnk.net
      link
      fedilink
      English
      arrow-up
      1
      arrow-down
      1
      ·
      1 year ago

      What are the current limits for image updoad (dimensions / file size). Are they being downscaled / turned into jpegs?

      • Dessalines@lemmy.mlOPM
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 year ago

        Image uploads are currently the biggest disk-space burden on server runners. We don’t have any limit hard-coded in lemmy’s back end, but admins are free to set hard limits in their nginx / server configs.