Synapse 1.36.0 is out, and it's a big one!
Room Join Memory Improvements
We did it! Synapse no longer experiences a memory spike when joining large / complex rooms.
These improvements mainly arise from processing join responses incrementally, rather than trying to load everything into memory at once. However, realizing these gains involved a fair bit of rewriting, as the entire processing pipeline had to work incrementally, and with appropriately sized batches, to avoid downstream bottlenecks. You can hear more about our original plans for this work in last month's Matrix Live: S6E23 — Dan and Erik talk about Synapse.
Presence Improvements
Running presence on a single worker process is now expected to work correctly. This feature first debuted in Synapse 1.33, but a few bugs cropped up which could lead to presence state becoming outdated. With #10149 merged, we believe the last of these issues to be resolved.
We had also noticed a recent increase in presence load on federation workers; this was ultimately tracked to two bugs, both fixed in this release: We were processing local presence via federation workers (#10163) and we were occasionally sending duplicate presence updates (#10165).
With both issues fixed, outgoing federation load has returned to normal levels:
(Thank you to David Mehren for this graph from issue #10153)
Everything Else
Synapse now has two new Admin APIs for unprotecting and removing media from quarantine, thanks to contributions by dklimpel.
Synapse now implements the stable /_matrix/client/r0/rooms/{roomId}/aliases
endpoint originally introduced by MSC2432, and, thanks to contributions by govynnus, makes the reason
and score
fields of event reports optional per MSC2414.
These are just the highlights; please see the Release Notes for a complete list of changes in this release.
Synapse is a Free and Open Source Software project, and we'd like to extend our thanks to everyone who contributed to this release, including 14mRh4X0r, aaronraimist, bradtgmurray, crcastle, dklimpel, govynnus, and RhnSharma.
The Foundation needs you
The Matrix.org Foundation is a non-profit and only relies on donations to operate. Its core mission is to maintain the Matrix Specification, but it does much more than that.
It maintains the matrix.org homeserver and hosts several bridges for free. It fights for our collective rights to digital privacy and dignity.
Support us