Google Cloud Digital LeaderDigital transformation with Google CloudHard
A global e-commerce company is experiencing rapid growth, leading to increased demand for its inventory management system. The system requires a highly scalable, globally distributed relational database that can handle millions of transactions per second with strong consistency and high availability across multiple regions. Which Google Cloud database service is best suited to meet these demanding requirements?
- ABigQuery
- BCloud Spanner
- CCloud SQL
- DFirestore
Show answer & explanationAnswer & explanation
Correct answer: B. Cloud Spanner
Cloud Spanner is a globally distributed, strongly consistent, and highly available relational database service that can scale horizontally to handle millions of transactions per second, making it uniquely suited for the e-commerce company's demanding inventory management system.
Why the other options are wrong
- A. BigQuery is a data warehouse for analytics, not a transactional database for operational systems.
- C. Cloud SQL is a regional relational database, not designed for global distribution and millions of transactions per second with strong consistency.
- D. Firestore is a NoSQL document database, which may not be suitable for relational inventory management and strong consistency requirements.
Cloud Spanner
Google Cloud's globally distributed, strongly consistent, and horizontally scalable relational database service.
- Combines the benefits of relational databases with the scalability of NoSQL.
- Offers high availability, strong consistency, and transactional integrity globally.
- Ideal for mission-critical applications requiring extreme scale and reliability.
Memory trick: Spanner stretches globally with strong consistency.