try conduit if you want a HS thats alot more optimized and runs well without a ton of resources
Comment on XMPP vs Matrix: Whose King of Federation?
sir_reginald@lemmy.world 1 year agoidk about the rest but the $5 Hetzner box running Synapse is inaccurate. While you can definitely run either Prosody or Synapse in the same box, Prosody consumes much less resources, which means that if, for example, a $5 box can run a 500 users Prosody (XMPP) server, that same box running Synapse could allocate only around 100 users
(not actual numbers, I haven’t done any real benchmark other than installing both of them in mg Raspberry Pi, mess around with both and test how Prosody’s resources consumption is much lower, both on “idle” and when receiving traffic)
ninchuka@lemmy.one 1 year ago
derin@lemmy.beru.co 1 year ago
Sorry, I meant for personal use. It’s absolutely okay for a synapse server running 1~5 users connecting to large rooms and using multiple Appservices for bridging in other networks.
Source: Been doing that for 3+ years.
sir_reginald@lemmy.world 1 year ago
I get your point and your use case, but I like to look further in the viability of the network.
yeah of course, a $5 box can’t host 500 users, they weren’t actual numbers. But in my tests on limited hardware, Synapse consumed almost twice as much RAM and CPU for (barely) the same usage. So I’d imagine that when scaling things up a large XMPP server can be run with much less hardware than a similarly sized Matrix server.
This is quite relevant for the longevity of the network. Cheaper hosting means more people can afford to voluntarily run servers and also less amount of donations can cover the costs.
derin@lemmy.beru.co 1 year ago
You’re not wrong, but if we’re talking about the longevity of the network then I’d recommend looking at non-synapse servers. Synapse is designed to scale horizontally, not vertically.
If you want something with more bang for your buck, with the potential for vertical scaling for small to medium size deployments, then Dendrite and Conduit are more viable alternatives.