add option to disable & discard comment votes
Requirements
- [X] Is this a feature request? For questions or discussions use https://lemmy.ml/c/lemmy_support
- [X] Did you check to see if this issue already exists?
- [X] Is this only a feature request? Do not put multiple feature requests in one issue.
- [X] Is this a backend issue? Use the lemmy-ui repo for UI / frontend issues.
- [X] Do you agree to follow the rules in our Code of Conduct?
Is your proposal related to a problem?
Increasingly small instances struggle with database i/o on cheap and older hardware due to the high amount of incoming federated vote activities.
Describe the solution you'd like.
Votes on comments (as opposed to votes on posts) add only little to most threads compared to chronological comment sorting, but still represent a significant database load.
If would be good if instance admins had the option to disable votes on comments and automatically discard all incoming federated comment votes to lessen the database load.
Describe alternatives you've considered.
Vote batching would also help, but requires significantly more development effort and likely additions to the ActivityPub specs.
Additional context
Somewhat related issue: https://github.com/LemmyNet/lemmy/issues/4086
Also relevant for geografically distant instances it seems: https://reddthat.com/comment/8316861
Similar to https://github.com/LemmyNet/lemmy/issues/5016
Might be a dupe of #4086 , where I propose that we either have options to block all federated votes (or have instance allowlist/blocklists for them).
That's specifically for federated votes tho, this seems to be All comment votes.
I think from a UI perspective disabling all comment votes is less confusing. It would be an instance option similar to disabling down-votes.