Do I Understand Mongodb Realm Correctly?
There Are Three Components: Realm Database: Local Storage & Persistence Realm Sync: Sync Realm Databases Between Clients and the Mongo Db Atlas Mongo Db Atlas...
There are three components:
- Realm Database: Local Storage & Persistence
- Realm Sync: Sync Realm Databases between clients and the Mongo DB Atlas
- Mongo DB Atlas: A Cloud Database.
You can use each separately or together. So you can
- Just store data locally with Realm Database and not sync it
- Just store data on Mongo DB Atlas without using realm sync, using standard queries to access the data.
- Use realm sync to create a synced realm that partitions your mongo db atlas database into a local realm and syncs data between the database and all clients who use it.
Is this all correct? (Thank you)
3 Answers
below are some notes for your questions. I'm just getting setup with MongoDB and Realm, myself.
A - Tools
Realm Database: Local Storage & Persistence
Correct - Client (on-device / local) storage
Realm Sync: Sync Realm Databases between clients and the Mongo DB Atlas
Somewhat confusingly, there's 2 different implementations of Realm Sync:
- Realm Sync - Syncs between clients with Realm (no MongoDB implementation necessary). This uses Realm-run database which costs $30/month
- MongoDB Realm with Sync - Syncs between Realm clients and MongoDB + Atlas backend which has a 'free forever' sandbox tier.
Mongo DB Atlas: A Cloud Database.
Correct - A database cluster + UI that is used in most tutorials to setup data models & database configuration.