You are only browsing one thread in the discussion! All comments are available on the post page.

Return

MrPoopyButthole ,
@MrPoopyButthole@lemmy.world avatar

Systems and software engineer here. I’m curious how the Lemmy project plans on scaling media uploads. It doesn’t seem feasible to host on an instance server. Even Reddit had a problem with media over the years and some subs to this day enforce offloading media to third party.

ruud OP ,
@ruud@lemmy.world avatar

For now it’s 2GB. I hope we can use block storage soon. I use Wasabi for mastodon.world

huojtkeg ,

Just Postgres or Postgres + Pics? Could you give me the number for Postgres? I’m thinking in hosting my server but I have concerns abot scalability and costs in the future.

ruud OP ,
@ruud@lemmy.world avatar
<pre style="background-color:#ffffff;">
<span style="color:#323232;">du -sm *
</span><span style="color:#323232;">2181	pictrs
</span><span style="color:#323232;">1885	postgres
</span>
huojtkeg ,

It seems a lot for little content. My experience tells me that Postgres is not going to scale well, some sort of NoSQL will be necessary.

ruud OP ,
@ruud@lemmy.world avatar

Why not? My mastodon DB is 200 GB, works fine.

huojtkeg ,

It depends on many things like the number of tables, the indexes, etc… but Postgres doesn’t work well above 1 TB. Anyway, it will take several years to reach that point. Someone will figure out a solution.

Thank you for the info. Do you have any link with the specs of your server, bandwidth, cpu/ram usage, statistics…? Anything that could help me to do the maths.

ruud OP ,
@ruud@lemmy.world avatar
  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • [email protected]
  • All magazines