this post was submitted on 01 Jun 2023
67 points (95.9% liked)
Lemmy
12815 readers
98 users here now
Everything about Lemmy; bugs, gripes, praises, and advocacy.
For discussion about the lemmy.ml instance, go to [email protected].
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Do instances "subscribe" to get the communities of other instances? Or how does it work the "all" filter?
Instances don't subscribe. People follow federated communities. So you can type [email protected] into the search bar here, and subscribe to it.
Yeah, I understand that, it's why I used subscribe in quotes since I didn't know to phrase it better.
My question is, how an instance knows about the communities of other instances so they appear when changing from "local" to "all"?
Is it only until a user searches for them in that instance? Before that both instances are unknown to each other?
Or is there a config so one instance tries to always be updated of other instances?
Federation is based on a push methodology, that happens after a subscribe. The flow is that I subscribe to a federated community, and that community's server now knows my activitypub id, and can push community posts and comments to my servers inbox. The connection happens after that first subscribe.