

#Hacking the matrix synapse 3 download full
We now have enough rooms in Matrix that downloading the full list every time the user searches for a room was getting completely untenable - we now support paginating and searching the list. Adding pagination support to the room directory API.This is a stopgap until we have a proper global room discovery database of some kind. Element (the app formally known as Riot/Web) implements this already. Rather than constantly spidering them via the secondary_directory_servers option (which was causing a load crisis on the server, as everyone else in Matrix kept polling it for directory updates), clients can now set a 'server' parameter on the publicRooms request to ask their server to proxy the request through to a specific remote server. Changing how remote directory servers are queried.when a new device joins a room and needs to be looped in) and is not intended for general messaging. This is used for exchanging authentication tokens and sensitive end-to-end key data between devices (e.g. Adding the final APIs required to support end-to-end encryption: specifically, a new store-and-forward API called "to device messaging", which lets messages be passed between specific devices outside the context of a room or a room DAG.Folks using the Debian Stable packages must upgrade immediately. There was a bug in 0.18.0 that meant this process was very slow (weeks) on sqlite DBs and chewed 100% CPU this was fixed in 0.18.1, and subsequently we've also had 0.18.2 (various perf and bug fixes, and a new modular internal API for authentication) and the current release: 0.18.3 to address a major vulnerability on deployments using LDAP with obsolete versions (0.9.x) of the python ldap3 library - e.g. You can tell when it's finished based on whether it's stopped logging about the 'background_deduplicate_state' task. The first time you run synapse after upgrading to 0.18 it will go through your database deleting all the historical data, after which you can VACUUM the db to reclaim the freed diskspace.

If not, there's never been a better time to run your own homeserver! The main improvement is that the Matrix room state updates are now stored as deltas in the database rather than snapshots, which reduces the size of the database footprint by around 5 - 7x.
#Hacking the matrix synapse 3 download update
So without further delay here's an update on all things Matrix! Synapse 0.18Back in September, we forgot to properly announce the 0.18 release of Synapse! This is a major oversight given that 0.18 was a huge update with some critical performance improvements, but hopefully everyone has upgraded by now anyway. Email is ok.Another season has passed the leaves are dropping from the trees in the northern hemisphere (actually, in the time it's taken us to finish this post, most of them have dropped :-/) and once again the Matrix team has been hacking away too furiously to properly update the blog. Sorry, I’m deep in several weeks of a seemingly bi-yearly affair.įor my part, I like mail. One could run ‘cells (aka pydio)’ which is more a file server with task, chat and collab added in … etc … If you don’t need the end to end crypto mattermost is also good (and much fast and easier to hack) and the built in web interface is often enough (and fast!)…ĭiscord is an option with different kinds and mixes of crypto (I’m an old erlang programmer!)… So, you can’t be communicating with your family using SFOS if your using crypto? Or am I missing something?
