News for hackers. Stuff that matters.
Re:Welcome to Libera Chat by joepie91_ on Wednesday May 19, 2021 @06:34PM (#27215393)
You don't have to keep that much state in memory at all, actually. I'm not sure why you think that you do.

Most of the state resolution (eg. the auth chain) involves calculations of which you can cache the result without needing to care about the inputs beyond that - at least, unless you need to recalculate them once later if delayed events come in.

Ultimately, the performance problems that Synapse has are problems with Synapse's implementation choices (especially around the database schema), not with the protocol nor with the state resolution algorithm.

Re:Welcome to Libera Chat by TheCycoONE on Wednesday May 19, 2021 @08:29PM (#27216057)
Presence may be a protocol level issue. My server struggled pretty badly until I disabled it and I see that's generally the advice: https://github.com/matrix-org/synapse/issues/3971

That doesn't seem like a fundamental issue though.

Re:Welcome to Libera Chat by Arathorn on Thursday May 20, 2021 @03:02AM (#27218230)
It’s a synapse implementation problem, not a protocol issue. And it’s being fixed currently.