Google Cloud Digital LeaderInfrastructure modernization with Google CloudMedium
A startup is building a new mobile application that requires real-time synchronization of user data across multiple devices. The data model is flexible and frequently evolving. They need a fully managed, serverless database that can scale globally and handle millions of concurrent connections, while offering robust querying capabilities. Which Google Cloud storage product is the most suitable choice?
- ACloud Storage
- BFirestore
- CCloud Spanner
- DCloud SQL
Show answer & explanationAnswer & explanation
Correct answer: B. Firestore
Firestore is a flexible, scalable NoSQL document database for mobile, web, and server development. It offers real-time data synchronization, robust querying, and serverless operation, making it ideal for applications with evolving data models and millions of concurrent connections.
Why the other options are wrong
- A. Cloud Storage is an object storage, not a real-time transactional database.
- C. Cloud Spanner is a globally distributed relational database for strong consistency, but Firestore is better suited for the 'real-time synchronization' and 'flexible data model' of a mobile app.
- D. Cloud SQL is a relational database, less flexible for evolving schemas and not designed for real-time synchronization at this scale.
Firestore
A flexible, scalable NoSQL cloud database for mobile, web, and server development from Google and Firebase. It keeps your data in sync across client apps in real-time and offers robust querying.
- NoSQL document database.
- Real-time data synchronization.
- Serverless and globally scalable.
- Designed for mobile and web applications.
Memory trick: Mobile app data, syncs like magic, no debate-a!