this post was submitted on 06 Jul 2023
655 points (95.3% liked)
General Discussion
12158 readers
2 users here now
Welcome to Lemmy.World General!
This is a community for general discussion where you can get your bearings in the fediverse. Discuss topics & ask questions that don't seem to fit in any other community, or don't have an active community yet.
🪆 About Lemmy World
🧭 Finding Communities
Feel free to ask here or over in: [email protected]!
Also keep an eye on:
For more involved tools to find communities to join: check out Lemmyverse!
💬 Additional Discussion Focused Communities:
- [email protected] - Note this is for more serious discussions.
- [email protected] - The opposite of the above, for more laidback chat!
- [email protected] - Into video games? Here's a place to discuss them!
- [email protected] - Watched a movie and wanna talk to others about it? Here's a place to do so!
- [email protected] - Want to talk politics apart from political news? Here's a community for that!
Rules
Remember, Lemmy World rules also apply here.
0. See: Rules for Users.
- No bigotry: including racism, sexism, homophobia, transphobia, or xenophobia.
- Be respectful. Everyone should feel welcome here.
- Be thoughtful and helpful: even with ‘silly’ questions. The world won’t be made better by dismissive comments to others on Lemmy.
- Link posts should include some context/opinion in the body text when the title is unaltered, or be titled to encourage discussion.
- Posts concerning other instances' activity/decisions are better suited to [email protected] or [email protected] communities.
- No Ads/Spamming.
- No NSFW content.
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
So your instance tracks karma for users on other instances by adding it up one visible post at a time, instead of querying their instances for the total directly?
Does it keep a permanent database with running totals for every user on every federated instance?
Yes essentially. The way federation works is when a user subscribed to a community, the community looks at the server the user is on. If it's one that it hasn't seen before it adds the server to it's federation list.
Every interaction on on each instance is sent to the host instance, who then tells everyone on its federation list. The receiving instance basically only ever listens for updates, it rarely/never ASKS for updates. And karma totals aren't something sent as part of these messages. So when someone votes on something it just increments the karma count at the same time.
Lemmy is built on a generic protocol not really designed to be a Reddit-alike, so some things are workarounds