Does anyone run their own Lemmy instance on a pi? How was the process of setting it up? Were there any pitfalls? How is performance?

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

    Not yet, but I’m planning to. And I don’t think there will be any “pitfalls” at all other than your microsd dying in a couple of months rather than years due to it getting hammered constantly by API requests, etc.

    • r00ty@kbin.social
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

      You could plug in a USB SSD or HDD and make sure the DB and other regularly written data goes there. That would pretty much remove the problem.

      I would wonder how well it would perform. The limited memory and cpu power surely would make database access not great under even moderate load.

      • GustavoM@lemmy.world
        link
        fedilink
        arrow-up
        0
        arrow-down
        1
        ·
        1 year ago

        You are right – I completely forgot about those, thanks.

        I would wonder how well it would perform.

        Something between “usable” to “a complete nightmare” – depending of how popular the lemmy instance is. Which would scare new users away, leaving it as a “cool kids only” thing. Then again, theres the fact that the power draw is little to none, which is very important regarding most self-hosting stuff – “can’t use it if I can’t maintain it”.

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

    Hey OP, I’m on a similar journey (except I’m using an rpi kubernetes cluster)

    I don’t have advice but I do want to wish you good luck

  • blotz@lemmy.worldOP
    link
    fedilink
    English
    arrow-up
    0
    ·
    edit-2
    1 year ago

    Im looking at setting up a lemmy instance on a rpi3 with cloudflared tunnel! I’m curious to see if anyone else has done this and how it was.

    Edit: I’ll give it a whirl and hopefully post an update from my new instance later!

    Edit 2: I appear to have lost my micro sd card reader! I cant write a new image hah nevermind found it!

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

      Are you asking me what i plan to set the cap to? I guess just me. I cant see anyone else wanting to run off a pi from my house and there are so many other instances to join.

        • poVoq@slrpnk.net
          link
          fedilink
          English
          arrow-up
          0
          ·
          1 year ago

          Basically the limit would be the speed of the database and the drive it runs on. If you connect a SATA SSD via usb3 it shouldn’t be too bad. Can’t tell you exact figures but a few hundred users is probably ok if you don’t expect the site to be super responsive.

          • YellowtoOrange@lemmy.world
            link
            fedilink
            English
            arrow-up
            0
            arrow-down
            7
            ·
            1 year ago

            Thanks. Might be useful for there to be a table outling diffrent hardware configs and acceptable user loads as more people people consider creating instances.

            • adora@kbin.social
              link
              fedilink
              arrow-up
              0
              ·
              1 year ago

              its difficult because different users have different usage patterns.
              for example, two users who never post and are never online at the same time really take no resources from each other. they are effectively “one” user.

              one user who posts 10gb of content a day, and is constantly posting would be equivalent to hundreds of “normal” users.