Docs Menu
Docs Home
/ /
Atlas Device SDKs
/

Stream Data to Atlas

On this page

  • Sync Data Unidirectionally from a Client Application
  • Define an Asymmetric Object
  • Connect and Authenticate with an App Services App
  • Open a Synced Database
  • Create Asymmetric Objects

If you have a mobile or client application that produces a large volume of data you'd like to stream to MongoDB Atlas, you can sync data unidirectionally using Device Sync. We call the feature that enables this unidirectional sync Data Ingest.

You can use Data Ingest to stream data from the client application to a Device Sync-enabled Atlas App Services App.

You might want to sync data unidirectionally in IoT applications, such as a weather sensor sending data to the cloud. Data Ingest is also useful for writing other types of immutable data where you do not require conflict resolution, such as creating invoices from a retail app or logging application events.

Data Ingest is optimized to provide performance improvements for heavy client-side insert-only workloads.

To use Data Ingest, stream data to Atlas using insert-only asymmetric objects in a synced database.

Atlas Device Sync completely manages the lifecycle of this data. The SDK maintains it on the device until Data Ingest synchronization is complete. Then, the SDK removes the data from the device.

You cannot read, query, or delete an asymmetric object from a database. Asymmetric objects are incompatible with standard, bi-directional Device Sync or a non-synced database.

1
2

To stream data from the client to your backend App, you must connect to Atlas and authenticate a user.

3

After you have an authenticated user, open a synced database.

Unlike bi-directional Device Sync, Data Ingest does not use a Sync subscription.

4
← 
 →