Firebase RTDB VS Firebase cloud DB

Firebase is a backend of your apps which includes many features like Realtime Database, cloud storage, user authentication, static hosting and many more.

Now, Firebase brought a new feature “Cloud Firestore”. Which is similar to “Firebase Realtime database” that is stuctured as a JSON tree but cloud firestore is stored data in documents(which is a set of key-value pair) and collection(which is a collection of documents) formats.

In the Realtime Database, Complex, hierarchical data is harder to organize at scale but in Cluoud FireStore, Complex, hierarchical data is easier to organize at scale, using subcollections within documents.

In Cloud FireStore, Documents can contain subcollections and nested objects(like ‘phone’ in above figure), both of which can include primitive fields like strings(like ‘name’,’email’ and etc. in above figure) or complex objects like lists.

More Articles for You

What is Firebase

Firebase is real-time database using cloud technology. That permits you to make application without server side coding and Rest APIs. …

— Featured —

Firebase Vs Dynamo DB

Firebase: Firebase is an entire ecosystem used to build web and mobile apps. It is a more complete solution when …

— Featured —

Firebase Vs Mongo DB

MongoDB and Firebase have their own benefits and drawbacks. When it comes to choosing any one of the two databases, it …

— Featured —

What is NoSQL Database

NoSQL Database is a non-relational database that can store and retrieve data. To simplify, imagine NoSQL database as a tree. …

— Featured —

Managing our Firebase data, was a nightmare. And how we solved that.

Back in 2017, we started using Firebas Realtime Database for the mobile apps we were making for our clients. We …

— Featured —