ladderlore
ガイドをリクエスト
  • S3 や IAM などのサービス名を入力してください。

概念 · SAA-C03 の発展

Troubleshooting ingestion and storage capacity

Read the throttling sign at each layer, then retry, spread the load or raise the limit.

このレッスンはまだ翻訳されていないため、英語で表示しています。

Solutions Architect Associateで学んだこと

  • Throttling protects a backend. Clients retry with exponential backoff and jitter.
  • Lambda reserved concurrency caps a function. SQS absorbs bursts.
  • DynamoDB rejects requests over its provisioned capacity.
Solutions Architect Associateのレッスンを読む
  • S3

    Sign
    503 Slow Down
    Fix
    More prefixes, backoff, ramp up
  • DynamoDB

    Sign
    Throughput exceeded
    Fix
    On-demand or auto scaling, better key
  • Lambda

    Sign
    Throttles, 429
    Fix
    Reserve or raise concurrency
  • Kinesis

    Sign
    Throughput exceeded
    Fix
    More shards, better key
  • EBS, EFS

    Sign
    Slow reads and writes
    Fix
    More IOPS or throughput
The throttling sign and fix at five layers.

1 / 2

  • S3

    Sign
    503 Slow Down
    Fix
    More prefixes, backoff, ramp up
  • DynamoDB

    Sign
    Throughput exceeded
    Fix
    On-demand or auto scaling, better key
  • Lambda

    Sign
    Throttles, 429
    Fix
    Reserve or raise concurrency

2 / 2

  • Kinesis

    Sign
    Throughput exceeded
    Fix
    More shards, better key
  • EBS, EFS

    Sign
    Slow reads and writes
    Fix
    More IOPS or throughput
The throttling sign and fix at five layers.
  • Retry

    Exponential backoff with jitter.

  • Spread

    More prefixes, keys, shards or functions.

  • Raise

    Request a quota increase.

Three levers that solve most capacity problems.

概要

Ingestion breaks when one layer cannot keep up. S3 returns 503 Slow Down when requests jump onto a prefix that S3 has not scaled yet. S3 supports at least 3,500 write requests or 11,000 read requests per second per partitioned prefix and scales as traffic grows, so spread keys over many prefixes and ramp up. DynamoDB throws ProvisionedThroughputExceeded when a table or a hot partition key goes over capacity: on-demand mode or auto scaling raises capacity, and a better key spreads the load.

概要

Lambda returns throttles when concurrency runs out. The standard limit is 1,000 per Region, but new accounts start lower and AWS raises it as you use Lambda. Reserve concurrency for key functions or ask for more in Service Quotas. Kinesis limits come from shards (see the Kinesis lesson). Disks have limits too: an EBS gp3 volume gives 3,000 IOPS and 125 MiB/s as a baseline. You can raise it to 80,000 IOPS and 2,000 MiB/s. io2 goes higher still. EFS offers Elastic, Provisioned and Bursting throughput modes: a job starved of throughput on Bursting needs Elastic or Provisioned.

概要

Three levers solve most cases. Retry with exponential backoff and jitter, which the AWS SDKs do by default. Spread the load over more prefixes, keys, shards or functions. Raise the quota in Service Quotas when the limit is a soft quota.

覚えること

  • S3: 503 Slow Down. At least 3,500 writes or 11,000 reads per second per partitioned prefix.
  • DynamoDB: switch to on-demand or auto scaling, and avoid a hot key.
  • Lambda: throttles at the concurrency limit. Reserve or raise it.
  • EBS gp3: 3,000 IOPS and 125 MiB/s baseline, configurable up to 80,000 and 2,000 MiB/s.

覚えること

  • EFS: Bursting can starve a busy job. Use Elastic or Provisioned throughput.
  • Retry with backoff and jitter, spread the load, or raise the quota.

試験では

  • “503 Slow Down from S3 during a big load” points to more prefixes, retries with backoff and a gradual ramp-up.
  • “A busy training job on EFS runs slowly after a few hours” points to Elastic or Provisioned throughput instead of Bursting.
  • “A soft limit blocks ingestion” points to a Service Quotas increase.