2017 – 2023 · MongoDB
Atlas App Services
MongoDB's application platform, from the Stitch serverless backend through the Realm acquisition to Atlas App Services, Device Sync and Triggers.
- 0 → 1
- Serverless
- Sync
- M&A integration
- Patent

Atlas App Services was MongoDB’s application platform. I worked on it from its first version, MongoDB Stitch, through the 2019 acquisition of Realm and the 2022 rename to Atlas App Services, as a PM and then as Director of Product.
MongoDB Stitch
Stitch was MongoDB’s first application-platform product. It was a backend as a service that let a browser or mobile app query MongoDB Atlas directly. Declarative, user-level rules decided who could read or write each document, so most apps didn’t need an API server in between. We announced it at MongoDB World 2017 and I presented it in the launch session, “Introducing Stitch”.
Over the following year we rebuilt the product around four services: QueryAnywhere for client-side queries under rules, Functions for serverless JavaScript, Triggers built on MongoDB change streams, and Mobile Sync between Atlas and MongoDB Mobile. Stitch reached general availability at MongoDB World 2018, alongside MongoDB 4.0.

The Stitch product page a few weeks after launch, archived by the Wayback Machine.
Taking it on the road
A new platform has to be demonstrated, not just documented. I gave Stitch talks and hands-on workshops at MongoDB World, MongoDB Europe, and MongoDB.local events in Tel Aviv, San Francisco, Dallas and Seattle. I also explained it on developer podcasts. For AWS re:Invent 2018 we built the Stitch Rover: an Android Things rover driven from a web “Mission Control”. It sent sensor data through Functions, Triggers, Amazon Kinesis and Mobile Sync, and more than a thousand people stopped by the booth to drive it.

How the rover worked: QueryAnywhere, Functions, Triggers and Mobile Sync wired to Atlas and AWS Kinesis. Image: MongoDB.

Mission Control on an iPad at re:Invent.
Functions & Atlas Triggers
Triggers began as one of the four core services in MongoDB Stitch. A database trigger watches a collection through MongoDB change streams and runs a serverless Function on each insert, update, replace or delete. Developers used them to sync data to other systems, keep derived collections up to date, send notifications, or push events to Kinesis and EventBridge, all without running a server. Auth triggers and scheduled triggers followed.
In June 2019 we brought Triggers into the Atlas UI itself, so anyone on Atlas could use them without adopting the rest of the platform. I led product for Atlas Triggers and the Functions runtime under them through the Stitch, Realm and App Services eras. They are among the few App Services features still in Atlas today.

A trigger streaming rover sensor data into Amazon Kinesis, from the re:Invent 2018 demo series. Image: MongoDB.
MongoDB Realm
In May 2019 MongoDB acquired Realm, the mobile database used by more than 100,000 developers. Realm had the on-device database and sync engine. Stitch had the serverless back end: Functions, Triggers, rules and authentication. I drove the integration of the two products.
We published the plan in the open. In October 2019 I wrote the public MongoDB Realm roadmap, which set out the timeline to a beta, the Realm Database 6.0 work, and the MongoDB engineers moving to Realm’s team in Copenhagen. MongoDB Realm launched at MongoDB.live in June 2020. It folded Stitch’s services into Realm, added a GraphQL service at GA, and opened Realm Sync as a beta. Realm Sync reached GA in February 2021.

The MongoDB Realm page a month after launch, archived by the Wayback Machine.
Atlas App Services
In 2022 the cloud side of Realm became Atlas App Services, and Realm Sync became Atlas Device Sync. As Director of Product I led App Services, Device Sync and the API services. These included the Atlas Data API (preview in November 2021, GA in June 2022), GraphQL and HTTPS endpoints. Over my time on the platform it grew from nothing to more than $60M in associated ARR and 20,000+ customers, and the team grew from 3 to 60. MongoDB retired Device Sync, the Data API and GraphQL in September 2025. Triggers and Functions remain in Atlas.

The Atlas App Services page after the June 2022 rename, archived by the Wayback Machine.

The Data API at GA, with per-cluster access settings. Screenshot: MongoDB.
Flexible Sync
The first version of Realm Sync was partition-based. Every object belonged to exactly one partition, and a device synced whole partitions. That worked for simple apps, but it forced developers to restructure their data around sync. Data that needed to reach several users, such as a shared document or a record visible to a whole team, had to be duplicated or worked around.
Flexible Sync removed that limit. A device subscribes to queries (“my open tasks”, “patients on this ward”) and receives the objects that match. Subscriptions can overlap, so the same object syncs to everyone entitled to it, and permissions are expressed as queries, which allows hierarchical, fine-grained access rules. It launched in preview in January 2022 and reached general availability as part of Atlas Device Sync at MongoDB World 2022.

Permissions as queries: attending physicians, fellows and residents each see a different slice of the same data. Image: MongoDB.
The patent
I’m the lead inventor on US 12,248,495 B2, Systems and Methods for Flexible Synchronization (filed 2023, granted March 2025), with Ian Ward, Michael O’Brien, Tyler Kaye, Sudarshan Muralidhar, Jonathan Reams, Alexander Stigsen and Kirollos Morkos. It covers how client changesets on shared objects are merged across sync servers running in parallel.

Fig. 12 lists the core capabilities: dynamic queries, fine-grained permissions, query overlap, a client-side query builder, range-based queries and an idiomatic query language.

Fig. 15: Realm clients behind a load balancer, sync servers and a translator in front of the Atlas cluster.
Resources
Talks
- Introducing Stitch, MongoDB World 2017, Chicago (slides)
- Evolving Your Data Access with MongoDB Stitch, MongoDB World 2018, New York (slides). I gave it again at MongoDB Europe 2018, .local San Francisco and .local Seattle
- Building Your First App with MongoDB Stitch, workshop, MongoDB Europe 2017 (slides)
- Stitch Overview, MongoDB.local Tel Aviv, January 2018 (slides)
- 7 Serverless Functions to Impress your Friends at Parties, MongoDB.live 2020 (demo code)
- Creating Sophisticated GraphQL APIs in Minutes, MongoDB.live 2020 (demo code)
- Securing Application Data from Day One, MongoDB World 2019 (attendee recap)
Podcasts
- JAMstack Radio #34: Using MongoDB with Stitch and Atlas, Heavybit, 2018 (video)
- React Native Radio 118: MongoDB Atlas as a Managed Database for React Native, Infinite Red, March 2019
- The MongoDB Podcast, Ep. 7: An Introduction to MongoDB Realm, May 2020 (archived)
Writing
- Production Ready IoT with MongoDB Stitch and Electric Imp, MongoDB blog, November 2017 (archived)
- Navigating a Rover using MongoDB Stitch QueryAnywhere, with Andrew Morgan, MongoDB blog, December 2018 (archived). The first of a four-part series on QueryAnywhere, Mobile Sync, Functions and Triggers with Kinesis
- Answers on the MongoDB Community Forums, mostly on Triggers and Functions, 2020 – 2023
- Sharing the MongoDB Realm Roadmap, MongoDB blog, October 2019 (archived)
- Announcing MongoDB Realm & the Realm Sync Beta, with Katherine Maughan, MongoDB blog, June 2020 (archived)
- Why You Should Use an Integrated Mobile App Framework, The New Stack, June 2021
Patent
- US 12,248,495 B2: Systems and Methods for Flexible Synchronization, Google Patents
- US 2023/0315757 A1, the pre-grant publication
- MongoDB files patent for data synchronization method, Verdict, December 2023
Code
- stitch-car: the re:Invent rover and its Mission Control web app
Launches
- Triggers Arrive on MongoDB Atlas, MongoDB blog, June 2019 (archived)
- Introducing Flexible Sync, now available in preview, MongoDB blog, January 2022
- MongoDB World 2022 announcements, June 2022
Press
- Announcing MongoDB Stitch, Eliot Horowitz, June 2017 (archived)
- MongoDB evolution continues with general availability of Stitch, diginomica, June 2018
- MongoDB strengthens mobile offerings with acquisition of Realm, April 2019
- MongoDB unveils vision for the development products: Realm, June 2019
- Atlas Data API generally available, June 2022
Documentation