this post was submitted on 29 Oct 2023
30 points (81.2% liked)

Asklemmy

43400 readers
1095 users here now

A loosely moderated place to ask open-ended questions

Search asklemmy ๐Ÿ”

If your post meets the following criteria, it's welcome here!

  1. Open-ended question
  2. Not offensive: at this point, we do not have the bandwidth to moderate overtly political discussions. Assume best intent and be excellent to each other.
  3. Not regarding using or support for Lemmy: context, see the list of support communities and tools for finding communities below
  4. Not ad nauseam inducing: please make sure it is a question that would be new to most members
  5. An actual topic of discussion

Looking for support?

Looking for a community?

~Icon~ ~by~ ~@Double_A@discuss.tchncs.de~

founded 5 years ago
MODERATORS
 

Not just speaking technically but economically. As user number mount up their post is just going to add up. I know instaces may distribute user, but server space isn't going to go down for anyone. It just seems like built to fall.

all 25 comments
sorted by: hot top controversial new old
[โ€“] squaresinger@feddit.de 21 points 10 months ago (1 children)

Lemmy is setup quite ok to scale users and traffic, since the users are (theoretically) distributed over many instances. In reality it doesn't work out perfectly, since people generally are more likely to join the biggest instances, so there's quite an imbalance there.

But what's worse is content replication. As soon as an user requests to look at a community for the first time, the whole community will get completely replicated on that user's instance. So any decently sized instance will pretty much replicate almost all communities, at least all that have content.

There is no scaling or storage balancing mechanic here. Even if no user ever touches that replicated community again, it will continue to be replicated, will fetch all new posts/comments and store them in the instance.

There is also currently no workaround to this (like there is for users/traffic, which you can just tell to join a different instance).

So if Lemmy ever gets to the point where gigabytes of data gets posted every day (which is only about 1000 pictures a day) storage demand will get so high, that hosting an instance will be seriously costly, which will probably lead to instances without any kind of cash flow shutting down, which will in turn lead to more users and thus traffic on the remaining instances.

I guess, that's one of the biggest technical (and conceptual) roadblocks that need to be addressed if Lemmy ever grows that big.

[โ€“] arthur@lemmy.zip 4 points 10 months ago (1 children)

As the project evolves, there will be fixes for that kind of problem, it is not an immediate problem.

[โ€“] squaresinger@feddit.de 5 points 10 months ago

Hopefully. Because right now this is not a simple bug but engrained in the core concept of how Lemmy works.

[โ€“] Tetsuo@jlai.lu 13 points 10 months ago (2 children)

Is there a feature to migrate users from one instance to another ?

I think it will be important when some instances will shut down. As long as people can move, then I think we can spread out the load.

I know my instance is handling the load very well and I'm really grateful for it.

[โ€“] Blaze@discuss.tchncs.de 9 points 10 months ago

Account migration is planned, at least partially, for the next release IIRC

[โ€“] lechatron@lemmy.today 4 points 10 months ago

There is a program I used to transfer my subscriptions and settings to a different instance.

https://github.com/CMahaff/lasim

[โ€“] originalucifer@moist.catsweat.com 8 points 10 months ago (1 children)

i think the resources youre referring to are easily, fluidly handled and there should be no long term concern as strategies are developed to handle those resources. server space can be recycled, caches cleared, etc.

youre not wrong in that storage is a concern, but it is one of the cheaper components from my POV running a full instance.

[โ€“] Cloudkid@lemmus.org 2 points 10 months ago (2 children)

Without ad revenue, I think server bill will pille up quick. I wish we could have insight from someone running instance.

i think the only sustainable model is having a donation process built into the site. its very successful in other platforms.

its that or ads. no one wants that.

my storage costs are currently < 1/10th of the total o f my other costs. sitting at $1.00/day on one of the most expensive providers. my server has 12 users

running a full cdn, cloudfront, smtp, etc.

[โ€“] Valmond@lemmy.mindoki.com 1 points 10 months ago

I'm running an instance, on local home fiber that I'm already paying for (30โ‚ฌ/m around 700Mb up for real, 2x2.5Gb down theoretical) so no problem today, at all.

Don't make the error thinking today's tech will linger, we will most probably have better and cheaper hardware in the future, but also smarter algorithms dealing with it all, remember it's a first try and can only get better.

[โ€“] variants@possumpat.io 6 points 10 months ago (1 children)

Just purge stuff older than X if storage becomes an issue and make people use image hosts outside of lemmy

[โ€“] Cloudkid@lemmus.org 5 points 10 months ago (1 children)

I'm more of an archivist, belive that will cause loss of many meaningfull conversation and information.

[โ€“] rufus@discuss.tchncs.de 5 points 10 months ago* (last edited 10 months ago)

Economically, I'd say yes. You can get a vServer for like 10โ‚ฌ per month and it'll have something like 200GB of storage and more than enough computing power to run lemmy. Text is small so only posting many pictures/videos could be a problem. But 10โ‚ฌ/$ is kinda affordable even for a single person and the storage should last you quite a bit. Even if you share the instance with a few of your friends.

And you could even have a community or non-profit pay for a larger vServer and ask everyone to contribute a bit of money. I'd be surprised if you needed more than say $3 per month and person. (probably less?)

So economically, I'd say it's easily doable.

Technically, depends on what the developers do. There are still quite some issues to fix. And I'd consider caching and how easy it is to set up an instance for your community more technical problems.

[โ€“] diskmaster23@lemmy.one 4 points 10 months ago

Anything is possible with enough work and proper planning.

[โ€“] rustyriffs@lemmy.world 2 points 10 months ago* (last edited 10 months ago)

Hope so. I'm definitely telling people about it.