Ravi Sir's Cards › AWS
Why is Scan OK in the lab list but not for production user lists?
This interview card answers: Why is Scan OK in the lab list but not for production user lists? Lab has few items; production must Query by user key. Scan cost and latency grow with table size. The card’s suggested next step is to add userId PK (or GSI) before real users arrive.
Read card text
What this card says
What it is
Lab has few items; production must Query by user key.
Why it matters
Scan cost and latency grow with table size.
How / example
Add userId PK (or GSI) before real users arrive.