Interview Prep/AWS/S3, RDS and DynamoDB

Millions of small objects are being uploaded and S3 returns 503 Slow Down. What do you do?

IntermediateScenarioS3, RDS and DynamoDB
Answer

Situation read → Per-prefix request rates (3,500 PUT and 5,500 GET per second) were exceeded.

What I'd do →

  1. Spread keys across multiple prefixes
  2. Add retries with exponential backoff and jitter in the SDK
  3. Batch small objects into larger ones
  4. Request-rate scale-up is automatic over minutes, so ramp traffic gradually
  5. Check CloudWatch 5xxErrors request metrics

Why → S3 scales per prefix, so more prefixes means more throughput.

Interview tip → Backoff plus jitter is the universal AWS client answer.

aws All AWS questions Roadmap: AWS core services

More on S3, RDS and DynamoDB