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.

top 7 comments
sorted by: hot top controversial new old
[-] [email protected] 3 points 1 year ago

[email protected] is for open-ended questions, not questions regarding lemmy :)

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

I wanted to ask lemmy about lemmy :(

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

#lemmy:matrix.org matrix chat room would be a good place to ask or even maybe [email protected]

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

Looked over your other post,

Your instance A replicates or really caches the content from C@B indefinitely, if you are subscribed to it (or if anyone on your instance is subscribed). When you make a post on C@B your instance transmits that post data to B. Other instances subscribed to C@B will get your post when they receive cache updates. As long as the instances aren't overloaded it is a pretty snappy process in my experience.

Pictures are not replicated but hosted on the instance of the user posting them. Post/Comment data is cached. Your instance will store a cache of all the subscribed communities. Even with a large number of subscriptions all that data is just text and gets filed into the database without consuming much space at all.

Edit: just some things I've read while setting up my instance. Pretty sure that's accurate.

[-] [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] 1 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.

load more comments
view more: next ›
this post was submitted on 13 Jun 2023
8 points (90.0% liked)

Selfhosted

37809 readers
513 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