Matrix.org homeserver: Severely degraded performance due to database issues
status.matrix.org
status.matrix.org
Eitherway, apologies for the degradation. Obviously anyone on their own server won't have been affected anyway.
I am on a fair amount of channels on matrix.org and can confirm, if it wasn't for this news article I would have never known.
On a sidenote, thank you for the work you all do!
I think that’s still true, I’d you want a distributed setup like that it has to be as close to trivial to setup as possible. Email has shown that complex setups cause centralized solutions.
Set up Postgres, tweak a hand full of settings in the config, that's pretty much it.
Has been running without issues for half a year.
Just a single person deployment though.
This really isn't true (and hasn't been since Matrix exited beta in 2019). `apt-get install matrix-synapse` or `pip install matrix-synapse`, edit the config, and `synctl start` and off you go.
Lack of federating is a real problem, though. I don't federate. It seems too easy for a malicious user to overrequest data and screw over your budget server, and I've heard of it leading to a lot of resource usage nightmares.
It’s also a flaw in that this could be less heavy: it could be faster to join (which we’ve almost solved via Faster Joins - see https://matrix.org/blog/2022/12/25/the-matrix-holiday-update...). We could also speak to a subset of the servers in the room (at the expense of reducing the decentralisation of the room). We can also optimise state resolution further.
For now: if you want to participate in a room whose users are spread over 1000 servers, you’ll need a server beefy enough to talk to 1000 servers every time someone says something.
All features of synapse are currently not there. For example, most media APIs are not working, like URL preview. Before 2 months ago, I feel like they were making great strides with the project. They were pushing out weekly updates.
Development has definitely slowed down, and it doesn’t help one of the key contributors/maintainers has left the company/project.
Hopefully the project gets a few dedicated maintainers and people to manage and fund it. It really is a great implementation but I ended up switching back to synapse.
I recommend setting up a separate instance and subdomain.
On the latter case Mozilla runs one. There are tables of free ones on the Internet, and you can also host your own.
On the former it isn't clear that the matrix.org software was to blame at all.