World Congress 2023 Sep 27, 2023

Build Delightful Mobile Experiences with Kotlin, Realm, and Atlas Device Sync

Timothy Marland

Quit writing custom sync layers and complex conflict resolution logic. Combine Kotlin, Realm, and Atlas Device Sync to effortlessly automate your app's offline-first architecture.

Pause
Mute Enter Fullscreen
#1 about 5 min

Challenges of traditional mobile data synchronization

Building manual sync layers using object-relational mapping, APIs, and message queues introduces significant error handling risks.

#2 about 4 min

Introduction to Realm and Atlas Device Sync

Realm replaces traditional database setups by storing live objects locally and efficiently synchronizing state over WebSockets.

#3 about 3 min

Architectural overview and offline data flow

Local applications push transactions to the cloud where operational transformation seamlessly resolves underlying data conflicts.

#4 about 3 min

Granular data querying and permission rules

Role-based access controls dictate specific document and field-level permissions to enforce strict application constraints.

#5 about 2 min

One-way data ingestion for IoT devices

Streaming one-way sensor data directly to Atlas avoids the computational overhead of bidirectional conflict resolution.

#6 about 4 min

Creating an Atlas App Services backend

Scaffolding a backend application with a real-time Kotlin template streamlines project setup using the Atlas CLI.

#7 about 4 min

Testing real-time sync and offline behavior

Toggling device network connectivity demonstrates how localized data updates automatically propagate across clients once a connection restores.

#8 about 2 min

Configuring collection rules and GraphQL endpoints

Cloud-based environments provide instantaneous enforcement of customized write permissions and direct access to underlying datasets via GraphQL.

Matching moments

2:18 min

Synchronizing offline data with MongoDB Realm and Atlas

Andrew Morgan · WWC 2021

11:26 min

Real-time offline synchronization demo with AWS Amplify

Sebastien Stormacq Sebastien Stormacq · LIVE

30 sec

Architecture of the SwiftUI and Realm chat application

Andrew Morgan · WWC 2021

2:36 min

Modern application stacks and real-time data requirements

Tim Faulkes · LIVE

1:34 min

Centralizing mobile business logic with Kotlin Multiplatform

Jens Posingies Jens Posingies +2 · WWC Europe 2026

7:13 min

Simplifying offline data persistence using AWS Amplify DataStore

Sebastien Stormacq Sebastien Stormacq · LIVE

Upcoming sessions on this topic

Open session

World Congress 2026 North America

Testing React Backends Like a Pro: Mocking Databases with SQLite

David Morris

Solution Architect

David Morris
Open session

World Congress 2026 North America

How to generate business value through performance optimizations

Nikolai Sidiropulo

Software Engineer at Meta

Nikolai Sidiropulo
Open session

World Congress 2026 North America

Offloading IoT State: Solving the Memory Crisis on Legacy Hardware

Pravin Nagare

Senior Software Engineer, Roku

Pravin Nagare
Open session

World Congress 2026 North America

Boring Failover: Predictable Region Recovery Across 5,000 Microservices

Garvit Kataria, Sahil Sabharwal

Garvit Kataria
Sahil Sabharwal
Open session

World Congress 2026 North America

Full Stack with Flutter - are we there yet?

Nemanja Stošić

Senior Flutter Developer

Nemanja Stošić
Open session

World Congress 2026 North America

Databases in the Agent Era

Monica Sarbu

Founder and CEO of xata.io

Monica Sarbu