概念 · CLF-C02 の発展
S3 request and transfer performance
Request rates per prefix, multipart upload, byte-range fetches and Transfer Acceleration.
このレッスンはまだ翻訳されていないため、英語で表示しています。
クラウドプラクティショナーで学んだこと
- S3 scales by itself. There is no capacity to provision.
- Objects are reached over HTTPS from anywhere.
- Amazon CloudFront caches content close to users.
Big upload fails or is slow
- Use
- Multipart upload
- How it helps
- Parts go in parallel. Retry one part only
Uploaders far from the Region
- Use
- Transfer Acceleration
- How it helps
- Nearest edge location, then AWS network
Big download, or only a part
- Use
- Byte-range fetch
- How it helps
- Ranges in parallel
Very high request rate
- Use
- More prefixes
- How it helps
- The limit applies to each prefix
Same objects read again and again
- Use
CloudFront
- How it helps
- Cached at edge locations
| Need | Use | How it helps |
|---|---|---|
| Big upload fails or is slow | Multipart upload | Parts go in parallel. Retry one part only |
| Uploaders far from the Region | Transfer Acceleration | Nearest edge location, then AWS network |
| Big download, or only a part | Byte-range fetch | Ranges in parallel |
| Very high request rate | More prefixes | The limit applies to each prefix |
| Same objects read again and again | Cached at edge locations |
1 / 2
Big upload fails or is slow
- Use
- Multipart upload
- How it helps
- Parts go in parallel. Retry one part only
Uploaders far from the Region
- Use
- Transfer Acceleration
- How it helps
- Nearest edge location, then AWS network
Big download, or only a part
- Use
- Byte-range fetch
- How it helps
- Ranges in parallel
| Need | Use | How it helps |
|---|---|---|
| Big upload fails or is slow | Multipart upload | Parts go in parallel. Retry one part only |
| Uploaders far from the Region | Transfer Acceleration | Nearest edge location, then AWS network |
| Big download, or only a part | Byte-range fetch | Ranges in parallel |
2 / 2
Very high request rate
- Use
- More prefixes
- How it helps
- The limit applies to each prefix
Same objects read again and again
- Use
CloudFront
- How it helps
- Cached at edge locations
| Need | Use | How it helps |
|---|---|---|
| Very high request rate | More prefixes | The limit applies to each prefix |
| Same objects read again and again | Cached at edge locations |
概要
S3 supports at least 3,500 write requests (PUT, COPY, POST, DELETE) and 11,000 read requests (GET, HEAD) per second for each prefix. Older material says 5,500 reads. The idea is the same: the rate applies to each prefix, and a bucket can have any number of prefixes. Spread keys over several prefixes to add throughput.
Use multipart upload for objects of 100 MB or more. It is required above 5 GB, and an object can reach 5 TB. Parts go up in parallel, and a failed part is retried alone. A lifecycle rule can delete uploads that were never finished.
概要
For clients far from the bucket, S3 Transfer Acceleration sends uploads to the nearest CloudFront edge location, then over the AWS network. A byte-range fetch asks for one part of an object, so you can download parts in parallel or read only a header. For repeated reads, put CloudFront in front of the bucket.
覚えること
- Rate limits are per prefix: more prefixes, more requests per second.
- Multipart upload: recommended from 100 MB, required above 5 GB, up to 10,000 parts.
- Transfer Acceleration: faster uploads over long distances, through edge locations.
- Byte-range fetches: parallel downloads, or read only the part you need.
覚えること
- CloudFront cuts latency for repeated reads.
- With SSE-KMS, AWS KMS request quotas can limit S3 speed.
試験では
- “Upload very large files from another continent, faster” points to multipart upload with S3 Transfer Acceleration.
- “Thousands of requests a second to one prefix return 503 Slow Down” points to spreading keys over more prefixes.
- “Download only the first part of a large object” points to a byte-range fetch.
- “Many users around the world read the same objects” points to S3 with Amazon CloudFront.