Matrix.org Foundation & Community

Making /sync go fast

A deep-dive into Sync v3
D.matrix
Kegan Dougal
<p>A deep-dive into Sync v3: a super-fast API to sync Matrix clients with their homeserver. The talk is broken up into a brief history of syncing in Matrix to set the scene before we dive into the problem space and explore how Sync v3 is different and how it addresses one of the most important and complex parts of the Client-Server API: syncing.</p>
Sync v3 is the third iteration of the syncing protocol in Matrix. The first was the now-deprecated /initialSync + /events and the second, still in use today, is /sync. We'll explore why the protocol needed to change then and why the protocol needs to change again now. As part of this, we'll look at how servers implement the /sync v2 API and the constraints they have to work with to explain why /sync can be so slow. Armed with this knowledge, we'll work out the aims/goals of a new hypothetical syncing protocol, along with the competing concerns around complexity, speed, bandwidth and flexibility. We'll then look at the Sync v3 proposal and explore the tradeoffs that were made in its design. This will be complemented with demos and diagrams throughout.

Additional information

Type devroom

More sessions

2/6/22
Matrix.org Foundation & Community
Matthew Hodgson
D.matrix
<p>The Matrix core team is busier than ever, juggling hundreds of Matrix Spec Core Proposals and undergoing some major techtonic shifts as Matrix evolves into the ultimate secure decentralised communication network. In this talk, we'll give a high-level survey of the state of the core project, including: * How we're ensuring that flagship clients are as attractive as possible to a mainstream audience - and why we will fail if we don't. * How we're making Matrix go <em>fast</em> via v3 sync and ...
2/6/22
Matrix.org Foundation & Community
Will Hunt
D.matrix
<p>Matrix has already got the solid framework of many bridge and bot implementations, but has always been missing that polish to make the bridges more accessible.</p> <p>In this talk, Will will explain how we're going to build our bridges with an all-new interactive interface and replacing old bot command interfaces with widget based interfaces.</p>
2/6/22
Matrix.org Foundation & Community
Oleg Fiksel
D.matrix
<p>Opsdroid makes building bots easy with it's modular concept of Connectors, Matchers &amp; Skills. In this talk I want to showcase how easy it's to build bots using Opsdroid.</p>
2/6/22
Matrix.org Foundation & Community
H. Shay
D.matrix
<p>Events are at the heart of the Matrix Protocol, but what are they? And how does the Protocol build on them to create rooms, room graphs, and other data structures? This talk aims to demystify some of these concepts, giving an overview of events, room event graphs, and associated structures. In the spirit of accessiblity, there will be an attempt to make the talk as approachable as possible for those without a ton of programming experience (although some basic knowledge will be helpful!). We ...
2/6/22
Matrix.org Foundation & Community
D.matrix
<p>Matrix (https://matrix.org) is an open protocol for secure, decentralised communication - defining an end-to-end-encrypted real-time communication layer for the open Web. Historically the network has been made up of newly written native Matrix clients, or bridges to 3rd party existing chat systems (e.g. Slack, Discord, Telegram).</p> <p>The matrix-rust-sdk is a modular Matrix client library, meant to be a robust implementation of the protocol, and to make even the most advanced features such ...
2/6/22
Matrix.org Foundation & Community
Christian Paul
D.matrix
<p>I'm working on a Massive Multiplayer Online (MMO) browser game which uses Matrix for authentication, authorization and storing save states. Lobbies and characters are managed as Matrix rooms which allows players to have a copy of their character's data at all times, migrate it to other Matrix accounts or share a character with friends.</p>
2/6/22
Matrix.org Foundation & Community
Greg Sutcliffe
D.matrix
<p>Remarkably, the Matrix community still does not seem to have a equivalent to things like the venerable mIRCstats or PISG packages (which generate data based on a local IRC log). In this lightning talk, I'll present a new package I'm working on to present similar data for Matrix rooms. We'll have a quick demo and lots of pretty graphs to look at.</p>