S3 Performance optimization Flashcards
How many types of uploading objects can be done in S3?
- Single put upload
- Multipart upload
- S3 transfer acceleration
What are the main characteristics of Single put upload (name 3)?
- Objects are uploaded to S3 as a single stream by default
- If the stream fails, the upload needs to restart from zero.
- Single put uploads objects up to 5GB
What is the main difference between Single put upload and Multipart upload?
Multipart upload breaks the data into smaller pieces.
Is there a minimum amount of data that you can upload when using Multipart upload?
Yes, the minimum data size is 100 MB
What is the maximum amount of parts that can be transmitted by using Multipart upload?
10000 parts (10K)
What are the minimum and maximum sizes of each part when using Multipart upload?
5 MB to 5 GB
In which cases can the size of a part be less than 5 MB when using Multipart upload?
Only the last part (leftover) can be smaller than 5MB.
What happens when the upload of a part fails when using Multipart upload?
The upload of that single part is restarted, not affecting the overall upload.
What is the main benefit of using Multipart upload over Single put upload?
- Improves data transference
2. In case of failure, the whole upload does not need to be restarted but the single part that failed.
What is S3 transfer acceleration?
It is another type of feature that can be used to upload objects to S3.
Is S3 transfer acceleration enabled by default?
No, it is disabled by default.
What are the main elements of the architecture used in S3 transfer acceleration?
AWS Edge locations, DNS, S3
Is there any constrain in the bucket name when using Single Put upload, Multipart upload, or S3 transfer acceleration?
Only for S3 transfer acceleration, the name must be DNS compatible, it cannot contain periods.
How does your data travel to S3 when using S3 Transfer acceleration?
The data travels to the closest AWS edge location and then it is transferred through a high-speed network (AWS network) to your bucket.
When is S3 Transfer acceleration more useful?
The worse the initial connection is, the better the performance benefits are using transfer acceleration.