this post was submitted on 12 Jun 2023
25 points (100.0% liked)

Technology

37699 readers
482 users here now

A nice place to discuss rumors, happenings, innovations, and challenges in the technology sphere. We also welcome discussions on the intersections of technology and society. If it’s technological news or discussion of technology, it probably belongs here.

Remember the overriding ethos on Beehaw: Be(e) Nice. Each user you encounter here is a person, and should be treated with kindness (even if they’re wrong, or use a Linux distro you don’t like). Personal attacks will not be tolerated.

Subcommunities on Beehaw:


This community's icon was made by Aaron Schneider, under the CC-BY-NC-SA 4.0 license.

founded 2 years ago
MODERATORS
 

What would happen if instead of users swarming existing servers when a fediverse service was put in the spotlight, each user spun up their own micro-instance and tried to federate with existing servers?

There's always the odd person who decides to host a personal fediverse service in their homelab for themselves, but would the fediverse work if that was actually the primary mode of interaction? Or would it fail in a similar way to now where the servers which receive the most federation requests need to scale up?

Presumably the failure modes for federation are easier to scale than browser requests since it's an async process.

you are viewing a single comment's thread
view the rest of the comments
[–] lucien@beehaw.org 0 points 1 year ago* (last edited 1 year ago) (1 children)

I think the main difference between fediverse and email WRT cache instances is that if you create a cache instance for email, you're only caching your personal emails. If you create a cache instance for a lemmy community, you're caching every event on the community.

My intuition says there's probably a breakpoint in community size where the cost of federating all events to the users who subscribe to them becomes greater than the cost of individually serving API requests to them on demand. Primarily because you'll be caching a far greater amount of content than you actually consume, unlike with email.

Edit: That said, scaling out async work queues is a heck of a lot easier than scaling out web servers and databases. That fact alone might skew the breakpoint far enough that only communities with millions of subscribers see a flip in the cost equation...

[–] Edo78@feddit.it 4 points 1 year ago (1 children)

Maybe I'm wrong (I'm on Lemmy since yesterday morning) but if you host your instance you're only caching the communities you are interested in ...if you never care about a community or interacted with an instance then those data will never reach your instance. Federated doesn't imply full redundancy

[–] nii236@lemmy.jtmn.dev 1 points 1 year ago

This is correct, and it’s also worth noting that the remote comments are not “backfilled”, so you don’t get to read all the old stuff