Hacker News new | ask | show | jobs
by Nasreddin_Hodja 2471 days ago
I've read somewhere that matrix server uses too much RAM due to bad design.

Personally I'd prefer XMPP.

2 comments

It's not a bad design, it's just the reference implementation is python based, and, well, a reference implementation; so they don't do too much for optimisations and focus instead on readability.

When Matrix as a protocol settles more, we'll start seeing optimised versions of the server, I'm certain of it.

dendrite, the next-gen server written in go, made good progress this summer thanks to GSoC, but contributions are always welcome
The current reference implementation, Synapse (Python) seems to take up around 2GB of RAM, Dendrite (Golang) rn uses up to 100MB according to Matthew (project lead). Note that Dendrite is still a WIP. Currently I don't think anyone is too sure about how Ruma (Rust) would perform as it is still very early in development.