HackerTube

Matrix 2.0 — How we're making Matrix go voom!

Matrixdotorg2 HN recommenders · recommended in 2 months, 2023–2024
YouTube
talk · intermediate · 2023–2024 on HN

A FOSDEM 2023 talk from the Matrix team on Matrix 2.0, covering sliding sync, the Element X client rewrite and next-generation calling. It explains how Matrix aims to match the speed of proprietary messengers.

HN threads link it as the primary source for Matrix's performance claims and sliding sync improvements.

8 comments from Hacker News

@Tmpod2023-07 · in “IRC Is the Only Viable Chat Protocol”

Matrix 2.0 will put an end to that trait plaguing the protocol's viability. With the new "sliding" sync, clients will be able to fetch stuff much more efficiently (and more akin to Discord's API, for example) than before. Syncing an freshly logged-in account takes seconds instead of minutes and syncing messages when returning to the app is instant. They presented this at FOSDEM this year: ▶ this video

Recommends View on HN
@Arathorn2023-02 · in “Matrix 2.0: How we’re making Matrix go voom”

If you watch the video, you'll see that we're making the client-server protocol crazy lightweight ( ▶ this video ) and that we're adding the ability to remove servers entirely and go full P2P: ( ▶ this video ). So you're working on stale data here. (Also, only about 35% of users we're aware of are on the matrix.org server, not 99%...)

Recommends View on HN
@Arathorn2023-02 · in “Signal says it'll shut down in UK if Online Safety Bill approved”

Fixing this has been the primary focus of the core Matrix team over the last year - we revealed the end result at FOSDEM a few weeks ago, and it literally improves performance to be better than Telegram/Discord/Slack or anything else we've benchmarked against: ▶ this video If you're feeling adventurous, try develop.element.io and enable Sliding Sync in Labs, and you should get instant login, sync, and orders of magnitude better performance (but it is definitely beta). You may need to run your own SS proxy, for which we published a guide yesterday: link

Recommends View on HN
@Arathorn2024-11 · in “Matrix 2.0 Is Here”

P2P Matrix is a dialect of Matrix where the server runs inside the client itself - see arewep2pyet.com for details. In other words, there are no servers (other than optional store-and-forward relays). It's insanely cool - you can see a demo at ▶ this video . It's also unfunded and on hiatus until someone provides some $ so we can work on it again. Right now, normal Matrix is a client-server model: you can't send messages from a client without it talking to a server (and then to another server, and then to another client). MatrixRTC VoIP and Video calls in Matrix 2.0 also go via server (for now), in order to support multiple participants and firewall traversal. Obviously, both messages and calls are end-to-end-encrypted (other than in public chatrooms), which makes it less important that they go via a server today.

@Arathorn2023-05 · in “Ask HN: Is anyone hosting their own Jitsi server?”

Element Call ( link ) is (very) late stage beta - it doesn’t currently use SFUs although we demonstrated one (waterfall) at FOSDEM: ▶ this video The thing keeping it in beta has been a set of really annoying intermittent bugs, which we’ve ended up tracking down by adding full opentelementry support; should expect to exit beta in the next few weeks (currently gathering data to check we really did fix them). Meanwhile we’re experimenting with other SFU implementations (eg LiveKit) to see if we can avoid reinventing the wheel there. Element Call style VoIP is already proposed for the Matrix spec - MSC3401 and MSC3898.