Ravindra BagaleCourses & study guides मराठी Track your progress

Ravi Sir's Cards › AWS

GetItem or Scan to resolve a short code?

What is a VPC: your own private network inside one AWS Region, example ThreeTierVpc 10.0.0.0/16.

GetItem or Scan to resolve a short code? Always GetItem by partition key shortCode. Scan would read the whole table. Shortener traffic is a classic single-key lookup pattern. PK shortCode String; GetItem Key={shortCode: code} in under 10 ms typically.
GetItem or Scan to resolve a short code? · Download PNG
Read card text

What this card says

What it is

Always GetItem by partition key shortCode. Scan would read the whole table.

Why it matters

Shortener traffic is a classic single-key lookup pattern.

How / example

PK shortCode String; GetItem Key={shortCode: code} in under 10 ms typically.

See all AWS revision cards