Re:Conduit: Simple, fast and reliable chat server powered by...
by robobro on Sunday July 30, 2023 @10:23PM
(#36938156)
One thing I didn't like about Matrix: I had a single server with 3 or 4 other users. In a few months, the database ballooned to, like, 80GB. User-uploaded content, including text, was in the ballpark of 2 or 3GB. Is there any way to clear out the cache of data received from old servers, say, anything more than 2 weeks old, and re-retrieve it if needed?
[ Parent
| on HN ]
Re:Conduit: Simple, fast and reliable chat server powered by...
by wjbolles on Sunday July 30, 2023 @11:16PM
(#36938445)
Yeah, there are admin APIs that can clear old images, local and remote ones. For your specific scenario you probably want this one:
https://matrix-org.github.io/synapse/v1.85/admin_api/media_a...
My server is not federated but fairly active, and we treat it as ephemeral. We've configured it so anything older than a week or two gets reclaimed automatically, text and media.
Re:Conduit: Simple, fast and reliable chat server powered by...
by CameronNemo on Monday July 31, 2023 @12:08AM
(#36938724)
Are you using synapse?
Re:Conduit: Simple, fast and reliable chat server powered by...
by COGlory on Monday July 31, 2023 @12:25AM
(#36938799)
Yes, it's room/concersation states taking up all the space, and you can compress them.
Re:Conduit: Simple, fast and reliable chat server powered by...
by lightedman on Monday July 31, 2023 @12:29AM
(#36938821)
That it generates that much cruft for something so simple is disappointing. How long does the compression bandaid work for?
Re:Conduit: Simple, fast and reliable chat server powered by...
by COGlory on Monday July 31, 2023 @12:40AM
(#36938878)
From the first link:
>I shrunk my homeserver database from 100GB to a little under 8GB, during a long maintenance cleanup.
Re:Conduit: Simple, fast and reliable chat server powered by...
by jeltz on Monday July 31, 2023 @03:47AM
(#36939797)
I feel registration is something which should come disabled by default and need to be explicitly enabled.
Re:Conduit: Simple, fast and reliable chat server powered by...
by nani8ot on Monday July 31, 2023 @06:47AM
(#36940822)
At least on Conduit and Dendrite that is the case iirc, but it's easy to forget to disable it once you register an account.
Re:Conduit: Simple, fast and reliable chat server powered by...
by COGlory on Monday July 31, 2023 @11:16AM
(#36943892)
It may be. I setup my server half a decade ago and don't remember exactly how I configured it initially. I may have enabled it not realizing the implications.
Re:Conduit: Simple, fast and reliable chat server powered by...
by toastal on Monday July 31, 2023 @02:44AM
(#36939489)
This is one of those things that make me appreciate XMPP. There’s no expectation to duplicate the entire history of chatrooms. Many MUCs default to the last 20 messages, which is usually enough to let you catch & jump in on the conversation. Costs of running my server have been quite cheap.