Long-term Linux operations guy who somehow became a Golang developer.

I also run the lemmy.serverfail.party instance

  • 0 Posts
  • 18 Comments
Joined 1 year ago
cake
Cake day: June 2nd, 2023

help-circle










  • In all honesty, there are a ton of us tech enthusiasts who have no problem paying 10-20$ per month to run an instance out of our own pockets. We get the ability to subscribe to content we used to use Reddit for, and we can have a few folks hop on with us. Multiply that by a bunch, and add in community funded instances, and we’ll be fine.

    Gotta consider server costs were only a fraction of Reddit’s costs. Salaries are quite pricey, and we have lots of folks volunteering time which will make it all work.






  • It’s still a little unknown at this time what you need to handle X number of users, beyond a few hundred. Beehaw.org is pretty open about what they’re using though in their financial statements if you’re curious, but there’s of operational optimization being tried out to see what’ll help.

    The stack is: postgres, pictrs, lemmy (Rust), lemmy-ui (nodejs), and nginx. RAM usage isn’t too bad, but so far I see CPU and disk I/O (pictrs) as the limitation. Websockets are being removed which was another hurdle - would cause nginx worker threads to max out and drop instances off.

    I’m on a 6$/month droplet as a reference for my single user instance and I’m subbed to a boatload of communities. So far I’m not having problems, but I made a 2GB swapfile for safety if RAM somehow spiked. CPU usage for me tends to spike when a community is being loaded for the first time due to image processing, but otherwise things are pretty idle.