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

Manage Sketch Design from Admin Panel

As a programmer, I always try to optimize and automate things. One day, saw my wife ( designer ) how …

— Featured —

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 MongoDB: Which Database Is the Best for Your App

What do you think is the most challenging part when starting with the development of your application? From our experience, …

— 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 —