I am considering creating my own lemmy instance as my current instance (lemmy.world) is often down, and I enjoy this kind of a project. That being said I haven’t been able to find any resources on hw needed for this? If I have a raspberry pi 4b 8g with 128gb is that enough for just me using it? Do I need to pay for a cloud server to host it? How can federation work if I only have <10 users tops? Anything else I might need to know?

  • cstine@lemmy.uncomfortable.business
    link
    fedilink
    English
    arrow-up
    18
    ·
    1 year ago

    The only comment I’d add here is that you should make sure you have a real domain, that you’ve paid actual money to, when setting this up. ActivityPub assumes the domain is immutable, and the free dynamic domain names you can get (or free TLDs like, say, .ml was) are a bad choice. Spend the $10 or whatever, because if something happens to your domain name, you cannot just update it in the database and fix federation: it completely breaks everything in a way that’s not repairable.

  • Monkey With A Shell@lemmy.socdojo.com
    link
    fedilink
    English
    arrow-up
    8
    ·
    edit-2
    1 year ago

    I’ve had mine up since 6/15 and in total between attachments, DB, and misc other stuff it uses just under 30 GB of space. I’ve also ran one of the subscriber bots for a couple days so there’s who knows how many communities subscribed in total at this point.

    Between the major parts, the DB is about 6GB the rest is attachments and such that could be wiped without any real harm. I’m hoping to see a ‘purge data after X days’ function at some point, or even better a ‘after last interaction’ so active posts don’t get purged. No use keeping the data from some some simple meme that had 2 comments forever though.

  • Too Lazy Didn't Name@lemmy.woodward.tech
    link
    fedilink
    English
    arrow-up
    7
    ·
    1 year ago

    Hello! I did the same thing, and this is my first post on my instance!

    I just put it on an old computer with 8GB of RAM, a HDD, and an old i5. Its running great so far.

    One disapointment for me is viewing “all”. Since im the only one on my instance, the only communities I see are the ones im subscribed to. Let me know if you find a way around this please!

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

      I’ve heard instances are using some sort of bot to “discover” communities

    • Jumper775@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      Can you elaborate on the issue with viewing all? If I just want to scroll and see stuff will I be bc able to see anything across the fediverse that I am federated with or is it really only stuff I am subbed to?

      • MentalEdge@sopuli.xyz
        link
        fedilink
        English
        arrow-up
        4
        ·
        1 year ago

        Servers only receive content from communities that at least one user on them is subbed to. Servers do not download the entire fediverse, only the bare minimum to cover what the users on it have asked for.

    • adminjrs@lemmy.fan
      link
      fedilink
      English
      arrow-up
      0
      ·
      1 year ago

      I used this bot to populate lemmy.fan - it works well, runs within a container/portainer stack, and the logs show everything when it runs.

  • gabriele97@lemmy.g97.top
    link
    fedilink
    English
    arrow-up
    5
    ·
    edit-2
    1 year ago

    Lemmy doesn’t require a lot of resources to run smoothly, especially for instances with a low number of users. The only concern may be if you upload a lot of images, they are stored on your drive.

    If you don’t want to manage a single user instance you can join someone’s instance (like mine, I am the only one in my instance)

  • code@lemmy.mayes.io
    link
    fedilink
    English
    arrow-up
    2
    ·
    1 year ago

    that should be easily enough. My instance after a month and subbed to 120 communities is using about 1-2gb of disk space. 18.3 did a ton of work in performance.

  • SJ0@lemmy.fbxl.net
    link
    fedilink
    English
    arrow-up
    2
    ·
    1 year ago

    I’ve found the biggest thing isn’t any real resource. My instance runs on a core 2 duo with 4GB of RAM, and I really try to get it to waste memory and barely fill the 4GB.

    The thing is your instance will be blasted by all the other instances you subscribe to. If you subscribe to too many big communities you might find you’re locked out during peak times, but it should be just fine as long as you’re not crazy with follows like I am lol

  • kjwill@lemmy.kjwill.tech
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    You’ll be fine, it’s pretty light on resources. Your internet connection (bandwidth and stability) is really the biggest factor