Hacker News new | ask | show | jobs
by EuAndreh 1587 days ago
I've used the prosody XMPP server and the synapse matrix server.

IMHO, the basic prosody setup is a bit simpler, but with the "extra" configuration such as retention policies, they're equal in setup effort.

On the other hand, prosody is an order of magnitute easier to maintain and administer. synapse is too brittle, and its not uncommon to use gigabytes of memory, while prosody's resource usage is barely noticible.

On the occasions that I wanted to look under the hood and skim the code, I felt more confortable understanding and hacking on prosody.

Overall, I found synapse to be needlessly complex and big. I don't know if that's because it's the first implementation and it accumulated a bunch of legacy code, or that's something that comes with Matrix itself.

1 comments

cool. so, would xmpp run on a 512mb vps? what about your average storage required? 20gb? 40?

could we say, define 2-3 days attachment retention rule to save on space?

In the past, people have squeezed Prosody onto their routers with 32MB RAM and the like. Today you might struggle fitting the Modern XMPP experience into that, but 512M or 1GB should be plenty.

As for storage, it really depends on how many and how big pictures or other files are shared. Clients like Conversations will compress images into a few hundred KB by default, so you can imagine how many will fit into even 1GB. Text messages take even less space.

Totally possible. Running Prosody on Debian 11 Host including coturn and also running mumble and still 250MB free RAM of 512MB.