Timothy Marland
Build Delightful Mobile Experiences with Kotlin, Realm, and Atlas Device Sync
#1about 1 minute
The challenge of building offline-first mobile apps
Users expect a fast, reactive experience which requires local data and a complex, custom-built synchronization layer to a primary database.
#2about 3 minutes
The complexity of building a custom sync solution
Building a custom synchronization layer involves object-relational mapping, error handling, and conflict resolution, which is undifferentiated heavy lifting.
#3about 4 minutes
Introducing Realm and Atlas Device Sync for mobile
Realm is an object-oriented mobile database with live objects, while Atlas Device Sync provides an out-of-the-box synchronization layer.
#4about 1 minute
A sample architecture for an online retail application
An online retail example demonstrates how GraphQL, Kafka, and Atlas Device Sync can all connect different services to a central MongoDB Atlas database.
#5about 2 minutes
Understanding the mechanics of Atlas Device Sync
Changes are written locally, sent via websocket, converted to MongoDB documents, and synchronized using operational transforms to handle conflicts.
#6about 2 minutes
Implementing granular data permissions and access control
Atlas Device Sync allows for defining specific read and write permissions at the document and even field level for different user roles.
#7about 2 minutes
Using data ingest for one-way IoT data flow
The data ingest feature is optimized for one-way data flows from sources like IoT sensors, skipping conflict resolution for higher efficiency.
#8about 4 minutes
Setting up a sample real-time sync application
A walkthrough shows how to create a new application from a template in the MongoDB Atlas UI and pull the starter code using the Realm CLI.
#9about 2 minutes
Demonstrating real-time and offline data synchronization
A live demo with a to-do list app on two devices shows how data syncs instantly online and automatically resolves changes after a period of being offline.
#10about 2 minutes
Demonstrating dynamic permission rule enforcement
The demo shows how server-side permission rules prevent unauthorized writes and how changing a rule in the cloud immediately affects client behavior.
Related jobs
Jobs that call for the skills explored in this talk.
PROSOZ Herten GmbH
Herten, Germany
€47-70K
Junior
Intermediate
Senior
Java
MARKT-PILOT GmbH
Stuttgart, Germany
Remote
€75-90K
Senior
Java
TypeScript
+1
Matching moments
00:30 MIN
The feasibility of coding entirely on a mobile phone
Fake or News: Coding on a Phone, Emotional Support Toasters, ChatGPT Weddings and more - Anselm Hannemann
01:32 MIN
Organizing a developer conference for 15,000 attendees
Cat Herding with Lions and Tigers - Christian Heilmann
01:06 MIN
Malware campaigns, cloud latency, and government IT theft
Fake or News: Self-Driving Cars on Subscription, Crypto Attacks Rising and Working While You Sleep - Théodore Lefèvre
01:15 MIN
Crypto crime, EU regulation, and working while you sleep
Fake or News: Self-Driving Cars on Subscription, Crypto Attacks Rising and Working While You Sleep - Théodore Lefèvre
00:48 MIN
The shift to on-device AI models in smartphones
Fake or News: Coding on a Phone, Emotional Support Toasters, ChatGPT Weddings and more - Anselm Hannemann
05:12 MIN
How to build structure and culture without killing agility
From Data Keeper to Culture Shaper: The Evolution of HR Across Growth Stages
03:16 MIN
Improving the developer feedback loop with specialized tools
Developer Time Is Valuable - Use the Right Tools - Kilian Valkhof
05:24 MIN
Empathizing with users over chasing engagement metrics
Slopquatting, API Keys, Fun with Fonts, Recruiters vs AI and more - The Best of LIVE 2025 - Part 2
Featured Partners
Related Videos
Offline first & automatic data synchronisations for your web and mobile applications
Sebastien Stormacq
From Zero to Mobile Developer in 45 Minutes With SwiftUI
Andrew Morgan
Protector Of The Realm
Sani Yusuf
Mobile at a Crossroads: The Declarative UI App Revolution
Peter Steinberger
Optimizing Your App for Success: Tips and Techniques for managing slow devices
Milica Aleksic & Nemanja Petrovic
Intro to Flutter Development
Mira Jago
Challenges of building React and React Native apps
Milica Aleksic & Stefan Nikolic
Scalable architecture for mobile apps
Nachiket Apte
Related Articles
View all articles



From learning to earning
Jobs that call for the skills explored in this talk.

SMG Swiss Marketplace Group
Canton de Valbonne, France
Senior


Cross Border Talents
Municipality of Madrid, Spain
MVC
GIT
Java
REST
Kotlin
+4



ITERATION MOBILE S.L
Municipality of Getafe, Spain
Senior
iOS
C++
GIT
Java
OpenGL
+1

AiMA Beyond Ai
Barcelona, Spain
€40K
Senior
iOS
Java
NoSQL
React
+11

Iteration Mobile
Municipality of Córdoba, Spain
€18K
Senior
Java
Kotlin

Iteration Mobile
Municipality of Córdoba, Spain
Senior
iOS
C++
GIT
Java
OpenGL
+2