Your customer has implemented a solution that uses Cloud Spanner and notices some read latency-related performance issues on one table. This table is accessed only by their users using a primary key. The table schema is shown below.

You want to resolve the issue. What should you do?

32 comments · newest first
RO
Rodrigo
6 months ago
I agree with Evan. Indexing often resolves latency issues.
LI
Lisha
6 months ago
Option D could also be a good choice. It addresses the schema.
MO
Mona
6 months ago
I’m leaning towards Option A. It seems more straightforward.
YA
Yan
7 months ago
Indexing is key! It can really speed up reads.
EV
Evan
7 months ago
I feel like Option B might help. It focuses on indexing.
JE
Jerry
7 months ago
Wait, are we really seeing latency issues with Cloud Spanner? That's unexpected!
TA
Tamera
7 months ago
Totally agree, primary key optimization is key here!
BA
Barrie
7 months ago
Not sure if that's the only issue, could be network-related too.
MI
Micaela
8 months ago
I'm leaning towards Option B, but I'd want to make sure it doesn't introduce any new issues with the data.
AL
Aleisha
8 months ago
Haha, Option D is like trying to put a band-aid on a broken leg. Let's stick to the more practical solutions here.
HE
Helaine
8 months ago
Option A seems like the most straightforward solution, but I'm curious to hear if there are any potential downsides.
VI
Vicki
8 months ago
Option D is an interesting idea, but I'm not convinced it will fully address the performance issues.
DE
Denise
9 months ago
Option B seems like a good solution, but I'd like to hear more about the potential drawbacks.
SA
Salena
9 months ago
Option C looks promising, but I'm not sure if it's the best choice.
SH
Sheridan
9 months ago
I think one of the options might involve adjusting the schema or adding an index, but I can't remember the details.
AL
Alline
9 months ago
I feel like I should consider the primary key access pattern, but I can't recall if that means I should focus on sharding or something else.
EL
Eloisa
9 months ago
This reminds me of a practice question where we had to choose between indexing strategies. I think that might be relevant here too.
ES
Esteban
9 months ago
I remember reading about optimizing read performance in Cloud Spanner, but I'm not sure which option specifically addresses latency issues.
VE
Verda
10 months ago
This is a great opportunity to showcase my understanding of Cloud Spanner. I'm confident I can analyze the situation and select the optimal solution.
RO
Roy
10 months ago
I'm a bit confused by the options here. I'll need to do some research on Cloud Spanner best practices to make sure I choose the right approach.
VI
Virgina
10 months ago
I think optimizing the primary key could help with latency.
CR
Craig
10 months ago
Cloud Spanner is designed for high availability and scalability.
CO
Colby
10 months ago
Okay, let's think this through step-by-step. The key is to understand the root cause of the performance problem and select the most appropriate solution.
KA
Kathryn
11 months ago
This is a tough one, but I think I'd go with Option C. It seems like the most comprehensive solution.
HE
Herschel
11 months ago
I think this question is tricky. Read latency can be tough to diagnose.
EL
Elmira
11 months ago
Hmm, the table schema seems straightforward, but the read latency issue is concerning. I'll need to carefully review the options and consider the trade-offs.
LA
Laurena
11 months ago
This looks like a classic Cloud Spanner performance issue. I'd start by analyzing the table schema and usage patterns to identify potential bottlenecks.
KI
Kirk
4 months ago
Definitely worth considering, especially for read latency!
NO
Nobuko
5 months ago
What about indexing? Could that help?
PA
Pamella
6 months ago
I agree, analyzing usage patterns is key.
CH
Chaya
6 months ago
Yes, but I think we need to look at the schema closely.
GE
Geoffrey
6 months ago
Have you checked the primary key usage?