A software company is architecting a custom high-throughput transaction processing engine deployed on Compute Engine virtual machines. The engine requires ultra-low latency block storage for temporary operational scratch data during execution, but requires durable storage for its primary relational data store with continuous low latency, high random IOPS, availability across VM restarts, and support for automated disk snapshots. Which storage configuration meets these requirements according to Google Cloud best practices?
- Attach a Local SSD array for temporary operational scratch data, and use SSD Persistent Disk (pd-ssd) for the primary relational data store.Answer
- BAttach Local SSD for both the temporary scratch data and primary data store, using Spot VMs to lower operational costs.
- CDeploy Cloud Bigtable as the primary data store for relational transaction processing to eliminate block storage overhead.
- DUse Standard Persistent Disk (pd-standard) for the primary data store and move disk snapshot files to Cloud Storage Archive class daily.
Answer
Attaching a Local SSD for temporary scratch space and using SSD Persistent Disk (pd-ssd) for the primary relational data store provides the required low latency, high IOPS, persistence across reboots, and snapshot functionality.
Combining Local SSD for non-persistent scratch workspace with SSD Persistent Disk (pd-ssd) for the persistent database volume balances extreme performance with enterprise durability and backup capabilities. SSD Persistent Disk ensures high IOPS, durability across VM restarts, and point-in-time snapshot features.
Step-by-Step Solution
Key Concept
Selecting GCP Persistent Disk types and managed storage options based on IOPS, latency, durability, and workload characteristics.