Hacker News new | past | comments | ask | show | jobs | submit
Why is the resource consumption of the Matrix server implementations so high? What are they doing that hits so heavy on performance? Encryption? But isn't it e2e? State resolution? Surely the resolution algorithms can't be that bad?

Even Dendrite, the eternally-WIP-rewrite in Go, used so much RAM I couldn't even start it on my Raspi.

My concern is also storage. It just keeps growing and I don't know to what exact extent it can be cleaned up. My VPS only has 20 gigs of storage, which is never an issue with XMPP (because the messages are ephemeral by default and media has an expiration date). Even text can add up over a really long time in active chats. Synapse seems to have better cleanup options (seen fewer retention options in, say, Continuwuity), but overall would like more insight into the possibilities.
loading story #50559986
Unless things have changed a lot in the last few years, it’s state resolution.

And yes the algorithms are tough - especially if you’re in the bigger rooms with lots of servers that don’t always work right.