8
submitted 1 year ago by [email protected] to c/[email protected]

I made a post on [email protected] but it was not getting any responses so decided to ask here where people have experience in hosting lemmy instances.

I am not sure how cross-posting works here so I'm just going to paste the link to the original post https://lemm.ee/post/24869.

The main query I have is how is data partitioned over instances when I'm participating in communities in other instances.

You can post your answers here or there.

you are viewing a single comment's thread
view the rest of the comments
[-] [email protected] 3 points 1 year ago

Thanks! That clears things up a bit.

So all text and metadata is kind of replicated but "heavier" stuff only resides on the original instance.

Your instance will store a cache of all the subscribed communities

I'm assuming more the number of communities, more the instance has to periodically probe and retrieve cache updates. Hopefully these are just deltas, so the updates are small.

However, for large instances, these periodic updates can become resource-hungry activities

[-] [email protected] 2 points 1 year ago

Hey, accidentally deleted my post instead of editing, oops.

It will have more work to do to keep a larger number of communties in sync however that part is actually pretty efficient. It sends just the bare minimum data in a json like format. If you have an instance you can watch the log and see them ticking along, getting and posting.

The majority of system load is from the UI. Database query's to build a users home page and feeds. At least all those query's will hit the local instances cache and spread out the load.

this post was submitted on 13 Jun 2023
8 points (90.0% liked)

Selfhosted

37939 readers
429 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS