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 :)

  • MentalEdge
    link
    fedilink
    English
    arrow-up
    3
    ·
    edit-2
    2 days ago

    •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?

    Content is controlled by the instance on which a community was created (through the instance admin, local and off-instance mod accounts, as well as individual content authors). Posts and comments get mirrored to other instances with subscribers, and kept in sync by federation events. (Every time someone comments, votes, posts)

    •what happens when your account gets deleted? Are all my messages deleted? Does this happen to all instances (it syncs the deletion?)

    Your instance will delete all local content, and attempt to delete all content from other instances, as well. This may fail, for example if an instance has gone offline.

    •do instances cache posts and comments posted on other instances? If so, RAM or disk?

    All content in a community is mirrored to every instance with subscribers. Images may be cached, but are hosted primarily by the instance they were posted from.

    •will having too many instances increase the load of all instances? (If they all have to sync?)

    No. Instances only mirror content from off-instance communities which have at least one local subscriber. Instances do not need to host everything from every other instance.

    •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?

    Your instance. Assuming no federation issues, your instance will have a complete copy of the content.