this post was submitted on 09 Aug 2023
18 points (95.0% liked)

Fediverse

17717 readers
2 users here now

A community dedicated to fediverse news and discussion.

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

Getting started on Fediverse;

founded 5 years ago
MODERATORS
 

So, I'm new to the fediverse and Lemmy, and I'm still trying to wrap my brain around it all. I'm sure people have talked about this, but by far my biggest issue so far has been finding communities. I specifically didn't want t to join a large instance, but that has led to issues of finding communities. I often need to go to lemmy.world or lemmy.ml and search for communities there because searching on a smaller instance won't yield results if no one's subbed to that community, even if the instances are federated.

Which leads to the point I'm trying to get to. It feels almost to me like if I'm trying to search for a URL but the DNS says it doesn't exist because no one on that DNS tried accessing that URL before so I need to query another DNS for it. But in reality, if I ask my DNS for a URL, if it doesn't know it, it'll ask other DNSs in turn until a result is determined. Why can't something like this exist for searching for communities? Does something like this exist at all, or is it impossible / a limitation of activity pub? But I feel searching for a community in one instance should in theory, if it doesn't know that community yet, be able to query federated instances if they know, until a result is returned.

Apologies if I'm unintentionally beating a dead horse. Or if there was a better community to post this to other than this one. See aforementioned community finding issues, lol.

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

Let's say every lemmy instance has a "memes" community, and you want to find them. Unlike DNS, where there's one authoritative record for memes, to find all the different communities for memes, the local instance would have to send a search request to each other federated instance, wait for the results (what if the remote instance is offline?), figure out how to sort them, paginate them, and display them to the user.

Would it be possible? Yes, but it's probably more of a headache than the devs want to implement. If you check the issue tracker, you might find some discussion about it.

[โ€“] [email protected] 1 points 1 year ago (1 children)

Hmm. I hadn't thought of this. I realize now that asking a DNS for a URL is predicated on there being one and only one IP address that maps to that URL. That wouldn't be the case when looking for a community, so the propogation of the query can't stop once a single result is found.