2.3 Planning and configuring data storage options Flashcards
Storage option: not structured data, need mobile SDKs
Cloud Storage by Firebase
Storage option: not structured data, don’t need mobile SDKs
Cloud storage
Cloud storage
- highly durable and highly available object store
- objects are immutable, but can be overwritten
- stored in buckets, but can’t be nested
Storage options provided by Cloud Storage
- multi-regional
- regional
- nearline
- coldline
Storage option for: hosting static website
Cloud Storage
Storage option: structured data, for analytics, low latency
BigTable
BigTable
- sparsely populated
- lookup by row key
- scalable, high availability, high performance
- for massive amount of data (petabytes)
Storage option: structure data, for analytics, don’t need low latency
BigQuery
How to calculate cost for BigQuery
UI: query validator
CLI: --dry-run
flag
REST: set dryRun
flag to true
Then use Pricing Calculator
Storage option: structured data, non-analytical, relational, don’t need horizontal scaling
Cloud SQL (supports MySQL and PostgreSQL)
Storage option: structured data, non-analytical, relational, horizontal scaling
Cloud Spanner
Cloud Spanner
- globally distributed
- strongly consistent
- highly available
- secure
- SQL like syntax
Storage option: structured data, non-analytical, non-relational, don’t need mobile SDK
Cloud Datastore
Cloud Datastore
- No SQL
- built on BigTable
- SQL like syntax
- can group operations in transactions
Storage option: structured data, non-analytical, non-relational, need mobile SDK
Cloud Firebase for Firebase