S3 Performance Flashcards
What is an S3 prefix?
An S3 prefix is the part of the file path between the bucket name and the object. (ex: ‘mybucketname/folder1/subfolder1/myfile.jpg’has prefix ‘/folder1/subfolder1’)
What does KMS have to do with performance?
Uploading and Downloading files counts towards the KMS Quota.
The exact amount for the quota is Region-Specific, but is either 5,500; 10.000; or 30,000 request per second.
How can you request a quota increase for KMS?
Currently there is NO way to request a quota increase for KMS
What is Mult-Part Upload?
The Idea behind Multi-Part uploads is to PARALLELIZE AN UPLOAD and thus increasing it’s efficiency.
This is done by SPLITTING A BIG FILE into parts and then uploading the individual parts in parallel.
What are S3 Byte Range Fetches?
S3 Byte Range Fetches allow you to speed up downloads by parallelizing them.
You Parallelize by specifying exact byte ranges.
If there is a failure in the download, it is only for a specific byte range.
What would you use if you just want to download partial amounts of a file?
S3 Byte Range Fetches with just relevant bytes
At what file size is Multi-Part Recommended?
100MB
At what file size is Multi-Part Upload required?
5GB
What do S3 prefixes have to do with performance?
The yare important for performance because REQUEST ARE MEASURED PER SECOND PER PREFIX.
A better performance can be achieved by spreading your reads across different prefixes.
How many PUT request. can AWS handle?
3,500 per Prefix per Second
How many COPY request can AWS handle?
3,500 per Prefix per Second
How many POST request can AWS handle?
3,500 per Prefix per Second
How many DELETE request can AWS handle?
3,500 per Prefix per Second
How many GET request can AWS handle?
5,500 per prefix per second
How many HEAD request c an AWS handle?
5,500 per Second per Prefix