GCP Cloud Architecture (50 Qs)•Part 3: Advanced Internals, Scale & Production Patterns (Senior / Lead)
Cloud Bigtable: Row Key Design and Anti-Hotspotting.
senior LevelgcpAdvanced Internals
In Simple Words: Cloud Bigtable is Google's NoSQL wide-column database powering Search, Maps, and YouTube:
- Row Key Ordering: Data is sorted lexicographically by Row Key.
- The Hotspotting Trap: Starting row keys with timestamps (
2026-11-20#user123) pushes all writes to a single tablet server. - Solution: Prefix row keys with a hash or reversed domain identifier (
user123#2026-11-20) to distribute writes evenly across all Bigtable cluster nodes.