TLDR: The main reason was Lemmy hogging server resources.

Last year, during the Reddit 2023 API controversy I finally deleted my account and moved on to Lemmy. Here’s a look at my experiences and why I eventually decided to switch to PieFed.

  • maegul (he/they)@lemmy.ml
    link
    fedilink
    English
    arrow-up
    10
    ·
    4 months ago

    Interesting! Any insights or comments on what’s increased the resources of lemmy over the recent updates?

    • Jeena@piefed.jeena.netOP
      link
      fedilink
      arrow-up
      8
      ·
      4 months ago

      Sadly I couldn’t figure it out. It seems it’s something with the database for sure but what exactly I don’t know.

      • maegul (he/they)@lemmy.ml
        link
        fedilink
        English
        arrow-up
        8
        ·
        4 months ago

        Yea I did a quick search through the GitHub issues, and it seems like there are some growing pains with updates they’re making to the way things work and the load it puts onto the database. Sad to hear for smaller instances as my impression was that lemmy had pretty good performance for smaller instances. Architecturally, it makes sense that there are different tradeoffs for bigger and smaller instances. It’d be good to see things mature to the point that you can tune things for your instance size. In the end though, picking the appropriate platform but with the assurance that migration can occur when you need to change platform may be a good way to go.

        • haui@lemmy.giftedmc.com
          link
          fedilink
          arrow-up
          6
          ·
          4 months ago

          Anecdotal evidence: I run two instances, a private and a public one. Neither uses a lot of resources.

          But I get the database thing. Its spiking every couple minutes and a lot every hour. It’s not a big deal if you have 2 threads at least but I can see how it doesnt work for everyone in every scenario.

          I‘m glad alternatives exist and I‘m much more positive on AP alternatives than protocol exiles.

          • maegul (he/they)@lemmy.ml
            link
            fedilink
            English
            arrow-up
            2
            ·
            4 months ago

            But I get the database thing. Its spiking every couple minutes and a lot every hour. It’s not a big deal if you have 2 threads at least but I can see how it doesnt work for everyone in every scenario.

            Yea database management seems to where the growing pains are right now (with the core devs welcoming help from anyone with DB/PostreSQL expertise) … and indeed it seems to be a perennial issue across the fediverse platforms.

            If I may ask (sorry, probably annoying) … what sort of resources would you recommend for a small personal lemmy instance? (let’s say 1-5 users, ~200 community subs and a few local communities?)

            • haui@lemmy.giftedmc.com
              link
              fedilink
              arrow-up
              3
              ·
              4 months ago

              Not annoying at all.

              I‘m running a public instance on two threads and I think 2 gb of ram. A private instance shared with other services on 6 threads and 8 gb of ram. Make of that what you want. :)

              I would probably rent a vps which you could extend if needed but start small. With 2 threads and 4 gb of ram at least.

  • AlexanderESmith@social.alexanderesmith.com
    link
    fedilink
    arrow-up
    10
    ·
    4 months ago

    There is /kbin which seems down all the time and its fork MBin which seems to have a good community but is written in PHP which I try to avoid.

    Can you expand on the reasoning for avoiding PHP? I get avoiding Java; JRE it’s s disaster, and a resource hog.

    • Jeena@piefed.jeena.netOP
      link
      fedilink
      arrow-up
      5
      arrow-down
      3
      ·
      4 months ago

      The only software through my servers have ever been owned by scriptkiddies were poorly written PHP software, specifically WordPress in my case.

      It’s just a personal preference because I’ve been burned too many times.

      • AlexanderESmith@social.alexanderesmith.com
        link
        fedilink
        arrow-up
        12
        ·
        4 months ago

        I’ll grant that PHP is set up to allow some super shitty code, but on fairness to the language; WordPress is a dumpster fire (compounded by endless awful plugins). That’s compounded by it’s ubiquity, so it’s a massive target.

        I just set up mbin as a single-user instance, and other than a bug I found (that they fixed live with me, in chat, including PRs), it’s been awesome.

        I hope your instance continues to work well for you 👍

    • maegul (he/they)@lemmy.ml
      link
      fedilink
      English
      arrow-up
      13
      ·
      4 months ago

      I think there’s a pretty fair argument that more common and easier languages and tech stacks are preferable platforms for smaller more personal instances … just the comfort of being able to modify and debug is probably worth whatever other tradeoffs may be encountered. Python, naturally, is basically a prime candidate. So yea, PieFed seems very cool, especially for personal servers and they’ve got a good performance profile.

  • mryessir@lemmy.sdf.org
    link
    fedilink
    arrow-up
    2
    ·
    4 months ago

    There is Sublink but it’s written in Java, I don’t think I want to deal with Java’s runtime environment.

    Don’t hate Java just for the sake of it. According to the repository they ship a Dockerfile and use gradle to build it. Everything should be abstracted for you.

    When comparing environments for a program between Java and Python you should probably prefer Java’s. Years of experience and build from the ground up for enterprise deployment. Python module system is hacked together. It ain’t even be fair for python to compare itself in this regard.

    Also this project is spot-on within Java’s main territory. It makes absolutely sense to me to use Java for such a program.

    Plus monitoring/maintaining a Java application is way better then any python program.

    • Jeena@piefed.jeena.netOP
      link
      fedilink
      arrow-up
      4
      ·
      4 months ago

      I think it is.

      -You can arrange communities it topics
      - you can show community posts as å wall of thumbnails, nice for memes
      - shows user reputation
      - you can hide posts from searches
      - moderation tools (there are more)
      - you can post videos and polls
      - better integration with PeerTube
      - keyword filters

      But it doesn’t have an API for 3rd parties

      • Andrew@piefed.social
        link
        fedilink
        arrow-up
        2
        ·
        4 months ago

        ‘subscribe to anything’ is handy, too. I’m subscribed to this post, for instance, so get notifications of new top-level comments.