Just started self hosting this instance. Nothing on the docs mentioned anything about storage considerations.

      • manitcor@lemmy.intai.tech
        link
        fedilink
        English
        arrow-up
        3
        ·
        edit-2
        1 year ago

        im running 50 users right now, subbed to A LOT of communities, seeing db growth of about 100mb per day.

          • terribleplan@lemmy.nrd.li
            link
            fedilink
            English
            arrow-up
            2
            ·
            edit-2
            1 year ago

            It’s all about how many communities your user(s) subscribe to since your instance basically acts as a mirror for those.

            My instance has been running for 23 days, and I am pretty much the only active local user:

            7.3G    pictrs
            5.3G    postgres
            

            edit: I may have a slight Reddit Lemmy problem

            • Pleonasm@programming.dev
              link
              fedilink
              English
              arrow-up
              1
              ·
              1 year ago

              So if you’re the only user (let’s assume for ease) then, that represents all the updates (posts, comments, votes) from each community that you are subscribed to?

              • terribleplan@lemmy.nrd.li
                link
                fedilink
                English
                arrow-up
                1
                ·
                1 year ago

                Yeah, and I purposely subscribe to (or sometimes have a dedicated “federation helper bot” account I run subscribe to) most of the most popular communities on the most popular instances so I can get a decent sampling of what’s going on in the fediverse on the “All” feed. So I assume my storage usage is maybe a bit higher than what an “average” single-user instance may be…

      • Dran@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 year ago

        Question if you know: does a lemmy instance have to be publically accessable to work? Like, if I make an instance on my homelab can the instance “fetch” content and serve it faster locally? Could I reply to a post and have others see it? Etc

    • HappyHam@lemm.ee
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      Now I wonder how viable it would be to support video hosting. The answer is almost certainly “God no!”

    • lightrush@lemmy.ca
      link
      fedilink
      English
      arrow-up
      0
      arrow-down
      1
      ·
      edit-2
      1 year ago

      Feels like this will benefit from some sort of fuzzy deduplication in the pictrs storage. I bet there are a lot of similar pics in there. E.g. if one pic or a gif is very similar to another, say just different quality or size, or compression, it should keep only one copy. It might already do this for the same files uploaded by different people as those can be compared trivially via hashing, but I doubt it does similarity based deduplication.

  • key@lemmy.keychat.org
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    Depends. If you have a lot of users posting a lot of pictures and you use pictrs out of the box config, then a lot. If you are just running a few users with finite communities being synced then a lot less. The number is going to vary a lot as lemmy grows and gets older so hard to document realistic expectations. But docker images are probably going to take up more disk space than actual contents unless you get quite big. I just threw my PG volume into a tgz to move servers and it’s less than a gig.

  • Kayn@dormi.zone
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    1 year ago

    My instance dormi.zone has been running for around 3½ weeks now, has a 3-digit amount of users and hosts a community with little more than 1000 subscribers. Here’s how much storage it currently takes up:

    • 4.9 GiB pictrs
    • 6.2 GiB postgres

    In the default Ansible configuration, storage will mostly be accumulated by log files that are automatically generated by Docker and deleted whenever you restart the Docker containers.

    • holycrap@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      I really hope it doesn’t get purged if lemmy is to be a Reddit replacement. A lot of the value Reddit had was obscure knowledge and making google searches actually usable.

      • Kayn@dormi.zone
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 year ago

        Are you planning on donating to instances that don’t purge old data?