Matrix Conference 2024

Looking at application performance of Sliding Sync in Dart
2024-09-20 , LAB Green (Basement)

Beep-boop ; I had too much time during work meetings - and what happened ? I started experimenting with Sliding Sync in Dart.

This talk will mostly be about the issue of supporting both stable Sync as well as the proposed Sync v3 implementation with some technical touch of Flutter and Dart.

Credits to my friends at Famedly for maintaining the amazing [matrix] Dart SDK. No credits to my employer since we use [matrix] in a proprietary-only ecosystem without any FLOSS contributions back.


As of the time of writing this abstract, the [matrix] Dart SDK developed by my wonderful friends from Famedly had no support for Sliding Sync yet. I was wondering how we could increase the performance of our Clients by adopting Sliding Sync to Dart.

Starting with a stub simulating Sliding Sync updates as an overlay over the regular Sync Loop implemented in the [matrix] Dart SDK, I adopted the architecture of a Flutter-based [matrix] Client to profit from the advantages of Sliding Sync.

We will together have a look on how to support both stable Sync and Sliding Sync from one code base and how to profit from the amazing performance boost in Flutter's Widget API.

Currently (hopefully changes until the summit), my work is still unstable and just some experiment in downstream.

This work is in no way affiliated with my employer and should not profit them in any way.

See also: Slides

I do [matrix] in healthcare, on legacy systems and on desktop.

Living in France ; I like trains.