this post was submitted on 08 Jun 2023
15 points (94.1% liked)

Lemmy

12547 readers
4 users here now

Everything about Lemmy; bugs, gripes, praises, and advocacy.

For discussion about the lemmy.ml instance, go to [email protected].

founded 4 years ago
MODERATORS
 

I recently setup a new Lemmy instance and was surprised when my feed was mostly empty. I've since learned that a key part of Lemmy's federation is based on a user from your instance subscribing to communities on other instances. Only then, will your instance pull in posts from the subscribed community to your "All" feed.

This means that subscribing to new communities is especially important if you're on a young Lemmy instance since it helps to build out everyone's feed on that instance.

I've found discovering new communities to subscribe to on other instances can be difficult. To help me search for new communities I may be interested in, I tried aggregating as much of the Lemmy fediverse together into a single feed by subscribing to the widest range of Lemmy communities possible. This offers a Lemmy feed that's kind of like reddit.com/r/all. If it's interesting to anyone else, you can find the instance here: https://lemmy.directory.

Hopefully this offers another way to find new communities to subscribe to on other instances.

Here's a better description of my understanding on how Lemmy federates communities and why you might be interested in checking out lemmy.directory: https://lemmy.directory/post/34207.

Hope this helps ease the orientation to how Lemmy federation and communities work.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 0 points 1 year ago (1 children)

Each instance would have to handle the replication and storage of the entire lemmyverse.

Do instances fully replicate and locally store remote subscribed communities? My understanding is they are still solely hosted on the original instance; subscribing just opens a window to the community by making your instance aware it exists.

[–] [email protected] 0 points 1 year ago (1 children)

Do instances fully replicate and locally store remote subscribed communities?

To a first approximation yes, they replicate the posts and comments made after the time of subscription. Images aren't replicated, but posts, comments, votes, and mod actions do replicate.

My understanding is they are still solely hosted on the original instance; subscribing just opens a window to the community by making your instance aware it exists.

I don't know what you consider "a window" to be, and maybe this is a fuzzy description of some steps of community discovery... but it's definitely not a complete or coherent view of how instances interact through federation.

[–] [email protected] 1 points 1 year ago* (last edited 1 year ago)

Thank you for taking the time to answer. I hope you might be willing to clarify a bit more for me. By "window", I meant just... having access to a remote community via an API gateway, I guess.

I was under the impression that if I try to subscribe to a remote community hosted on lemmy.world from vlemmy.net, that is simply registering the URL of that community into some local directory in my instance, not duplicating the entire community contents into vlemmy.net. And then when I view a thread in that remote community, I am just retrieving the thread data from the host server at lemmy.world straight to my browser, not loading some local duplicate of the thread from vlemmy.net. Seems like it would get out of sync quickly if we are all reading separate local copies of the original.

So based on your answer, I am still misunderstanding something. What is the purpose of all the duplication then? Is it just for local caching purposes? Does this not needlessly drive up the amount of traffic because each instance is frantically trying to keep up to date with every other instance, rather than just letting each instance handle the requests for its own communities?