How can you optimize the performance of a Go application writing to a Cloud Spanner database by following Google's recommended best practices? | Google Professional Cloud Developer Quiz - LeetQuiz