15
submitted 8 months ago by winterwulf@lemm.ee to c/fediverse@lemmy.ml

Could not it be just like a embedded? or something that works like that?

Seems a bit wasteful to have the same content stored in hundreds (potential thousands) of servers.

top 13 comments
sorted by: hot top controversial new old
[-] originalucifer@moist.catsweat.com 23 points 8 months ago* (last edited 8 months ago)

because it reduces traffic and, logistically, it would be insane to try and build a standard forum tree from say, the 50 different servers that might be involved for every single page load.

it would be crazy not to.

ill add, the content is almost pure text. highly compressible, designed for high speed transmission and storage. its not that big a deal. .. imaging is a whole other can o worms

[-] morrowind@lemmy.ml 2 points 8 months ago

I believe image proxy and caching is in the works, but no proper duplication. Same for vids.

[-] winterwulf@lemm.ee 1 points 8 months ago

Wow this is cool! Would work similarly to peertube?

[-] morrowind@lemmy.ml 3 points 8 months ago

No, peertube is way more complex and as the name suggests, peer to peer. This still relies entirely on the server.

[-] winterwulf@lemm.ee 1 points 8 months ago

gotcha, thanks!

[-] carl_dungeon@lemmy.world 12 points 8 months ago

And if the origin server goes down, then so does the content. As it stands today, it behaves like a CDN which is what you’d want for many reasons.

[-] winterwulf@lemm.ee 2 points 8 months ago

Thanks, I get it now :)

[-] Max_P@lemmy.max-p.me 9 points 8 months ago

Imagine a post from a tiny instance running on the cheapest VPS going viral and now all of the top Lemmy instances are trying to embed it from the tiny instance. It would immediately blow up.

That would increase the barrier to entry massively, and all that to save a few GBs of disk space. It's small enough it wouldn't even fill up half of my phone's storage that I'm carrying in my pocket all the time.

What's wasteful is the MBs of JavaScript you load on most modern website infested with all the video ads.


What Lemmy does is also very effective because each instance acts as a cache for the other instances. If any given post is viewed more than once from a remote instance, it ends up cheaper in CPU and bandwidth.

On bigger instances, the cost of federation is very small compared to the load of serving the instance's users.

It also allows instances to have their own sorting algorithms, discovery algorithms, you name it. You have the data, you can crunch the numbers however you want for your users. You can develop your own spam filters and tools.

Even on my small 5 users instance, that's 4 users worth of traffic that never hits the bigger instances. Probably more because I refresh the home page a few times a day whenever I open up my app to scroll a bit.

[-] winterwulf@lemm.ee 1 points 8 months ago

Thanks, I get it now :)

[-] winterwulf@lemm.ee 1 points 8 months ago
this post was submitted on 06 Jan 2024
15 points (80.0% liked)

Fediverse

17541 readers
1 users here now

A community dedicated to fediverse news and discussion.

Fediverse is a portmanteau of "federation" and "universe".

Getting started on Fediverse;

founded 4 years ago
MODERATORS