News for hackers. Stuff that matters.
Re:Thousands of subreddits pledge to go dark after the Reddi... by Buttons840 on Sunday June 11, 2023 @03:19AM (#36279032)
What's going on though that a $5 / month server can't handle 1500 users posting a few bytes of text. I realize we're talking millions of bytes that have to be processed, but computers are fast. Are the protocols inefficient? Is the code just really inefficient? What's going on?
Re:Thousands of subreddits pledge to go dark after the Reddi... by marvin on Sunday June 11, 2023 @04:26AM (#36279395)
I wonder how many are willing tonpay that $5 per month. The community as a whole is worth disproportionally less if it becomes 90% smaller.
Re:Thousands of subreddits pledge to go dark after the Reddi... by Buttons840 on Sunday June 11, 2023 @12:09PM (#36282659)
I mean, why can't a single $5 instance handle 1500 users? 1500 users might generate a few megabytes of text, that's next to nothing.
Re:Thousands of subreddits pledge to go dark after the Reddi... by shagie on Sunday June 11, 2023 @12:46PM (#36282969)
It can't scale without spinning up new (heavy) instance. Its database is hosted in the same <<thing>> as the web server ( https://join-lemmy.org/docs/en/administration/install_docker... ). Note that it's a single container that exposes port 80 and 443 - the database is hosted inside of that container.

That makes scaling the main instance impractical without redesigning how its built, deployed, secured, and connects to its backend database.

Note also that adding other sites increases this load without adding users as polling for content constantly is likely more expensive than having a user connect directly (and use it for a limited time).

Re:Thousands of subreddits pledge to go dark after the Reddi... by Buttons840 on Monday June 12, 2023 @12:54AM (#36288600)
Why does it need to scale? Does my laptop need to scale when I open a 100 megabyte file? No, it just does it in a few milliseconds then goes back idle. What I mean is, 1500 users sounds like a load you handle with a Raspberry Pi in a forgotten corner. I just don't understand what is happening to overload even the weakest of cloud instances?