Intellipaat Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in GCP by (19.7k points)

Google provides two cloud-based data storage services Google Cloud Datastore and Firebase (after its acquisition). While typical usage scenarios are provided to enable a developer to make the selection between various services provided by the Google cloud platform, there is no mention of how Firebase fits into the picture in its current/future development.

Can anybody picture some insight on the matter and provide typical use cases for Google Cloud Datastore vs Firebase?

1 Answer

0 votes
by (62.9k points)

Google Cloud Datastore

  • A highly scalable NoSQL Database for your web and mobile applications.

  • It's simple and integrated, it provides a restful interface through which data can be easily accessible by any deployment target.

  • You can build solutions that span across the Google App Engine and Google Compute Engine.

  • App Engine is a service for hosting web applications

  • Compute Engine is an IaaS service for hosting infrastructure-based services.

  • Google Datastore is fast meaning that we can focus on provisioning and load anticipation

  • It also has another feature of  Elegant Query, using a schemaless database allows the fastest searching across multiple properties and sort as needed.

  • It has high scalability, it scales seamlessly and automatically allowing for high performance even with growing traffic.


 

 Firebase :  

  • Cloud-hosted real-time document store. iOS, Android, and JavaScript clients share a Realtime Database instance and automatically receive updates with the newest data.

  • Firebase is Google’s mobile development platform.

  • It helps you build apps and growing user-base.

  • It is used by client-side app developers(both web and mobile).

  • It is used for building a new mobile app, augmenting an existing app with new functionality and growing an audience.

  • The Firebase SDK(Software Development Kit) allows you to write mobile and web apps without running your own back-end. You can read from and write to the Firebase Database directly from your app, no server code required. The database security model allows fine-grained access control without a server based on your users.

  • The Firebase Database stores the JSON object.

A Firebase Project is also a GCP project.

A Firebase project is also a GCP project that uses Firebase services. That is: Billing and Permission for projects are shared across consoles. Unique identifiers for a project like(Project ID or Project No.) are shared across consoles.

Please note that since the underlying project is the same for both Firebase and GCP, if you delete the project using either Firebase or the Cloud Console, it releases all the resources used within the project. It releases all the VM instances, storage(Buckets), databases, applications, Firewall Rules, VPC network, etc that you created. 

31k questions

32.8k answers

501 comments

693 users

Browse Categories

...