Both databases are cloud-hosted, NoSQL databases, but the data model of both databases is different:
Realtime Database |
Cloud Firestore |
- Simple data is very easy to store.
- Complex, hierarchical data is harder to organize at scale.
|
- Simple data is easy to store in documents, which are very similar to JSON.
- Complex and hierarchical data is easier to organize at scale, using subcollections within documents.
- Requires less denormalization and data flattening.
|
..................Content has been hidden....................
You can't read the all page of ebook, please click
here login for view all page.