this post was submitted on 26 Feb 2025
21 points (95.7% liked)

Lemmy

12802 readers
35 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
 

Hi! Does anyone have a ressource to explain how Lemmy works in terms of the more complicated stuff, as:

  • If a community is hosted on instance A and a user that’s on instance B creates a post in this community, is the post hosted on A, B? Or are individual comments hosted on the instance of their respective authors?
  • what happens when your account gets deleted? Are all my messages deleted? Does this happen to all instances (it syncs the deletion?)
  • do instances cache posts and comments posted on other instances? If so, RAM or disk?
  • will having too many instances increase the load of all instances? (If they all have to sync?)
  • if I want to check the comments of a post, does my client ask this to my instance of to the instance of the author or to the community's instance?

Questions like this. I guess most will be answered by explaining deeply how ActivityPub works but if anyone has that info, please share :)

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 2 points 1 day ago* (last edited 1 day ago)

I assume an account getting banned is the same as an account getting deleted?

Only if the administrator of the instance chooses to delete the content as well.

If they did, it will be the same as deleting the account with "Delete content" option set to true.

https://github.com/LemmyNet/lemmy/blob/1a299ba6284edc4cefb7507d84d01cd30649a28c/crates/api/src/local_user/ban_person.rs#L25

https://github.com/LemmyNet/lemmy/blob/1a299ba6284edc4cefb7507d84d01cd30649a28c/crates/api_common/src/utils.rs#L732