this post was submitted on 06 Jul 2023
651 points (95.4% liked)
General Discussion
12041 readers
3 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 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Lemmy actually tracks karma. It just doesn't show it anywhere.
But as an admin I can dig in the database and see people's karma if I felt like it
Does a user have a separate karma score on each instance, or a total for the whole fediverse?
Well the way it works is I can see the total score of everything my instance knows about. But I only get content created after someone on my instance subscribes to some community - I only get older content if someone interacts with it.
So my instance is about a month old. The Karma score I can see for users of other instances will be the total of everything they've done after about a month ago on communities that at least one person on my instance subscribes to. Possibly some older content that someone happens to have voted or replied to as well in the past month.
But for my own users I should see the full, true karma.
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