QuestionQ84

Designing scalable, available, and reliable cloud-native applications

The current application stores user-state data in one MySQL database. This state data is highly user-specific and strongly depends on how long a user has used the application. The MySQL database makes it difficult to maintain and enhance the schema for different users.

Which storage option should you select?

  • A Cloud SQL
  • B Cloud Storage
  • C Cloud Spanner
  • D Cloud Datastore/Firestore
Explanation

Cloud Datastore/Firestore is a schemaless NoSQL database, allowing user-state entities or documents to have different properties and property types without requiring a single relational schema migration for all users. This accommodates user-specific state that changes as users progress through an application.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!