93
submitted 1 year ago by Machefi@lemm.ee to c/fediverse@lemmy.world

I've been on Lemmy for some time now and it's time for me to finally understand how Federation works. I have general idea and I have accounts on three federated instances, but I need some details.

Let Alpha, Beta, Gamma and Delta be four federated instances. I have an account on Alpha and create a post in a community on Beta. A persoson from Gamma comments on it and a person from Delta upvotes the post and the comment.

The question: On which instances are the post, the comment and the upvotes stored?

you are viewing a single comment's thread
view the rest of the comments
[-] Rottcodd@kbin.social 47 points 1 year ago

As already noted, on all of them.

The easy way to grasp how it works:

When you, on instance.alpha, view a community on instance.beta, you aren't actually on community@instance.beta. You're actually on an entirely separate copy - community@instance.beta@instance.alpha. That's the community you're reading and posting to and upvoting/downvoting in. Meanwhile, people on other instances are each on their own locally hosted copies of the same community.

The lemmy software (or kbin or mastodon or whatever) then periodically syncs up all the local copies of community@instance.beta, so you all end up looking at (more or less) the same content, even though it's actually a bunch of technically separate communities.

load more comments (16 replies)
this post was submitted on 20 Aug 2023
93 points (97.0% liked)

Fediverse

27365 readers
114 users here now

A community to talk about the Fediverse and all it's related services using ActivityPub (Mastodon, Lemmy, KBin, etc).

If you wanted to get help with moderating your own community then head over to !moderators@lemmy.world!

Rules

Learn more at these websites: Join The Fediverse Wiki, Fediverse.info, Wikipedia Page, The Federation Info (Stats), FediDB (Stats), Sub Rehab (Reddit Migration), Search Lemmy

founded 1 year ago
MODERATORS