Primary-key design for Cloud Spanner — preventing write hotspots, 40-60% performance gains
Spanner partitions by primary-key range. A monotonically-increasing PK like a timestamp or UUID-v1 funnels all writes to one server. The fix changes everything from your sequence strategy to your tenant model.