Live data from Hacker News

Self-hosting a Matrix server for 5 years

yaky.dev

101–110 of 159 posts

Re: Self-hosting a Matrix server for 5 years

#101
post #34

Same setup here since 2017. Since then, RAM usage decreased by 60%. The admin panel is not something I'd need but it would be a nice-to-have. Started with postgres as I wouldn't go for anything else if I wanna use it for decades. It has 2.5GBs for 10users and I don't mind if it takes 10 or 20, that's something I expected. Never did a cleanup of anything, I just dumped the db and moved to OVH recently onto a new VPS w…

Conduit [1] has retention policies [2] for media and attachments!

[1] https://conduit.rs/ and https://gitlab.com/famedly/conduit [2] https://gitlab.com/famedly/conduit/-/blob/next/docs/configur...

Re: Self-hosting a Matrix server for 5 years

#102

Earlier quoted context omitted.

Yeah I thought this was a weird take too. Too often people take privacy for "I can do what I like". IMO deleting something you've sent to someone else is not a privacy concern at all.

IIRC it is possible to have some clever encryption so that the person you sent your message to can prove to their own satisfaction that it came from you, but they cannot prove to anyone else that it came from you. Which gives you plausible deniability; you can always claim that your contact forged the message. Can't remember what the algorithm is called.

Off The Record chat did this.

https://en.wikipedia.org/wiki/Off-the-record_messaging

Re: Self-hosting a Matrix server for 5 years

#103

TLDR Self-hosting isn’t dying because people stopped caring. It’s dying because the complexity has gotten out of hand. This post highlights how something that used to be a fun, lightweight hobby has turned into a full-time maintenance burden. Systems like Matrix are powerful, but they’ve become so intricate that even skilled engineers struggle to run them reliably. The result is a slow drift back toward centralized p…

I would say it became much easier in recent years. docker-compose became defacto server "app install", any linux supports it. That includes GUI options like Truenas/Unraid and very nice admins like Dockge exist.

The company behind matrix is aiming at huge scale servers but if you care about unfederated private instances you will find there are few much simpler "one binary" projects that can even use file based sqlite/rocksdb. Hosting those couldn't be simpler. You actually don't even need docker just systemd service and switch binary when updating.

Re: Self-hosting a Matrix server for 5 years

#104

Been selfhosting synapse for about 1.5 years in a docker compose setup using bunkerweb (formerly "bunkerized nginx", which better explains it premise) reverse proxy, eturnal for TURN and postgres, also recently added livekit and MAS for element call and element X compatibility. All that runs on a small 2vcore/4gb VPS, and it runs pretty good, I experience a server crash every half a month, but that may be caused by t…

> it runs pretty good, I experience a server crash every half a month

I don't... what? How can you... arrrgh!

Re: Self-hosting a Matrix server for 5 years

#105

> Synapse is the only choice that supports bridges This is not true, at least today. Continuwuity, which is an alternative server implementation, and its predecessors support bridges very well.

I set up Whatsapp and Telegram bridges with Tuwunel today. The config file for mautrix-whatsapp indicates Dendrite should work as well so it seems just about every server implementation supports bridges?

Re: Self-hosting a Matrix server for 5 years

#106
post #72
post #34

Same setup here since 2017. Since then, RAM usage decreased by 60%. The admin panel is not something I'd need but it would be a nice-to-have. Started with postgres as I wouldn't go for anything else if I wanna use it for decades. It has 2.5GBs for 10users and I don't mind if it takes 10 or 20, that's something I expected. Never did a cleanup of anything, I just dumped the db and moved to OVH recently onto a new VPS w…

Whatever is going on in Matrix land isn't stable enough for most people to switch. I gave up after they broke their calling system after changing something to this livekit system. It doesn't work, my existing TURN server became useless, and Matrix was left as a very slow chat application. I'm over it.

I gave up after I upgraded my server from a SQLite backend to a PostgreSQL one with their conversion script which introduced errors into my DB.

Maybe one day I'll dig into it and see if I can fix the DB by extracting whatever data in it that's causing the errors, but like, is it really worth it at this point?

What does running a matrix server get me in 2025?

Re: Self-hosting a Matrix server for 5 years

#107
post #51
post #18

Earlier quoted context omitted.

I don't agree with it myself, but there are people who seem to want to frame "the right to be forgotten" as a privacy issue.

Just one example, but trying to get that revenge porn off the web, can be seen as an attempt to restore ones privacy. Where others should not have the right to continue to peek into ones private life.

That's not quite the kind of thing I was talking about. I think that is generally already covered by current laws in most places?

The right-to-be-forgotten advocates argue that everyone should have the right to demand that any trace of their previous online existence be deleted. On social media of course, but also independent web forums, chat logs, git commits, etc.

Re: Self-hosting a Matrix server for 5 years

#108

TLDR Self-hosting isn’t dying because people stopped caring. It’s dying because the complexity has gotten out of hand. This post highlights how something that used to be a fun, lightweight hobby has turned into a full-time maintenance burden. Systems like Matrix are powerful, but they’ve become so intricate that even skilled engineers struggle to run them reliably. The result is a slow drift back toward centralized p…

I would say it became much easier in recent years. docker-compose became defacto server "app install", any linux supports it. That includes GUI options like Truenas/Unraid and very nice admins like Dockge exist. The company behind matrix is aiming at huge scale servers but if you care about unfederated private instances you will find there are few much simpler "one binary" projects that can even use file based sqlite…

If you want a simple docker-compose for Matrix, you can always use https://github.com/element-hq/element-docker-demo.

The reason Element ships ESS Community as kubernetes helm charts is simply so that the officially supported distro is as close as possible to the thing we have to support for the big govtech customers, where docker compose simply isn't going to cut it. Perversely, that means that ESS Community is pretty bulletproof (even if the scaling stuff is missing), but comes at the expense of having to run k8s.

Re: Self-hosting a Matrix server for 5 years

#109
post #6

As a former user I felt these pain points trying to do nothing more than have a very active one-on-one chat with a good friend. Tens of messages an hour, maybe 2 years running. Using matrix.org and the pre-X clients. It's fine for group chat (IRC style) but that's not a high bar. (a) the encryption between using a mobile and the webapp desyncs/breaks all the time, it just sucks. I mean you'll get "cannot decrypt" a l…

Thanks for mentioning Delta - https://delta.chat/ and implicitly https://chatmail.at/

Re: Self-hosting a Matrix server for 5 years

#110
post #13

Earlier quoted context omitted.

Right, but we did have efforts to take over hardware security enclaves to deliver user data, instead of copyrighted company data, to user devices. Tim Berners-Lee tries to make the internet a place where you can choose, what it "forgets". At least that were the news I got from the 2010s and early 2020s. As for how: DRM-like tech in the hands of users should allow for that. So having privacy by design would be nice, a…

>Tim Berners-Lee tries to make the internet a place where you can choose, what it "forgets". At least that were the news I got from the 2010s and early 2020s. Tim Berners-Lee created the web, not the internet, which is what chat apps use. Also, unless you can provide some direct quotes about it being designed for "forgetting" stuff, I have no idea where these "news" you got came from. >As for how: DRM-like tech in th…

>> As for how: DRM-like tech in the hands of users should allow for that.

> If it's in the hands of the users, i.e. open source, it can be disabled at any moment, which is exactly what my reply already addressed.

The point is that with the help of hardware-backed DRM on the client, the Matrix server could send data only to unmodified clients. You modified your client in a way that does not match what the Matrix server expects? No data for you.

Post reply on HN