Lemmy Post Purger (LPP) - Keep your small instance from growing too large for your disks.

3 years ago by fmstrat to c/selfhosted

Lemmy Post Purger (LPP). Contribute to Fmstrat/lpp development by creating an account on GitHub.

Hot on the heels of LCS (https://lemmy.world/post/557346), I bring you Lemmy Post Purger (LPP).

Instances can grow fast, and that can be a problem if you have limited disk space. If you don't mind losing history that your users have not interacted with, LPP can help. It will purge posts along with their comments and media before a certain time period if no comments, likes, or saves exist for users on your instance.

load all comments
Glome 15 points 3 years ago

I feel like this ruins the aspect of an archive of information where users can go back through and find useful info similar to SO in a way. Maybe there will be a meta search engine for looking through all of the popular instances?

path: 0 517631, hotness: undefined, score: 15, children: 4
maegul 7 points 3 years ago

Generally I agree. But I think there are divergent interests:

  1. Sustainable decentralisation
  2. Archiving as much useful information as possible behind a good global search

At some point these conflict and it makes sense to direct efforts specifically toward one if you want it realised.

Purging to lower costs makes sense for decentralisation.

To have a great archive of human knowledge, at some point it would make sense to have instances or services dedicated to that.

path: 0 517631 520696, hotness: undefined, score: 7, children: 1
Tired8281 1 point 3 years ago

We need a sort of Pushshift for Lemmy. That way Lemmy instances can purge posts for their own survival, while a full archive exists and can be accessed if needed. Best of both worlds. Perhaps the Lemmy project should be working with the Pushshift people to integrate that functionality.

path: 0 517631 520696 531573, hotness: undefined, score: 1, children: 0
Crackhappy 5 points 3 years ago

I think it depends on the implementation of this idea, given the nature of federation. It seems like a good place to start.

path: 0 517631 518344, hotness: undefined, score: 5, children: 0
MangoPenguin 4 points 3 years ago

It's a balance between losing information due to purging old stuff, and losing information due to an instance shutting down entirely from costs being too high.

path: 0 517631 526315, hotness: undefined, score: 4, children: 0
selfhosted
selfhosted

@lemmy.world

login for more options
63103
6834
6313

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:

Detailed Rules Post

  1. Be civil.

  2. No spam.

  3. Posts are to be related to self-hosting.

  4. Don't duplicate the full text of your blog or readme if you're providing a link.

  5. Submission headline should match the article title.

  6. No trolling.

  7. Promotion posts require active participation, with an account that is at least 30 days old. F/LOSS without a paywall has exceptions, with requirements. See the rules link for details. Tags [CBH] or [AIP] are required, see the links in Rule 8 for details.

  8. AI-related discussions and AI-involved promotional posts have additional requirements for tagging, as noted in Rule 7 and the AI & Promotional Post Expanded Rules post, and find example disclosures here.

Resources:

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

Questions? DM the mods!

go to feed...