[matrix]
Sliding Sync from a Dart developer perspective
Hej, jeg er
The one with the braid
- [matrix] for healthcare, legacy systems and desktops
- Unix, Flutter engine and Snapdragons
- ask me about night trains
Never
implement
a MSC
apparently the implementations changed while working on this talk
Why this talk ?
- I was bored during super-duper important scrum meetings
- Let's share the experience
- beep-boop <3
Sliding Sync in short
(not the scope of this talk)
- Server side state resolution
- High-level view-based sync endpoint
- Simplified initial sync
- Performance boost
[Datrix] mart SDK
Huge credits to my friends from Famedly <3 !
Dart side
- SlidingClient based in the SDK
- SlidingSyncProxy on Flutter side
Goal
- backward compatibility with Sync v2
- pure drop in replacement for clients
SlidingClient
- listens on sliding windows
- syncs sliding windows with API endpoints
- provides streams for room states
SlidingClient ⇆ SlidingSyncProxy
SlidingSyncProxy
- Flutter sliver delegate
- handling scroll position
- provides sliding window streams
Great, can I try it ?
No.
Prospect
- streamlining with implementations in wild
- discussing new Flutter APIs with Famedly
- profit !
[matrix]
[matrix]
By The one with the braid
[matrix]
- 68