Optimising S3 Request Performance
This lesson explains how object naming and client request patterns determine the S3 performance an application achieves, although S3 scales automatically to very high request rates.
Learning outcomes
After completing this lesson, you will be able to:
- Spread request load across prefixes.
- Apply client-side techniques such as parallel and byte-range requests.
- Measure S3 performance with request metrics.
- Resolve 503 Slow Down errors.
Request rates and prefixes
S3 supports at least 3,500 PUT, COPY, POST or DELETE and 5,500 GET or HEAD requests per second per partitioned prefix. A prefix is any string at the start of the key, such as logs/2026/10/. There is no limit on the number of prefixes, so an application that spreads requests over ten prefixes can reach 55,000 reads per second. S3 scales partitions automatically as load grows; during the scaling it can return 503 Slow Down errors, which clients should retry with exponential backoff (the AWS SDKs do this automatically). Sustained 503 errors on a single prefix point to a key design that concentrates traffic.
The following diagram compares one prefix with ten.

S3 request rates
Client-side techniques
S3 scales on the server side automatically, so most remaining performance gains come from how clients make requests. A single connection is limited by its own throughput and latency, whereas many connections in parallel can use the full capacity of S3 and of the client's network. Large objects are split into parts that are uploaded or downloaded concurrently, failed requests are retried rather than failing the whole transfer, and compute is placed close to the data. The following list describes the main techniques.
- Parallel requests: open many connections and spread them across prefixes.
- Byte-range fetches: request parts of a large object with the
Rangeheader in parallel, or fetch only the part needed (for example a file header). - Retries with backoff for 503 and 500 responses.
- Same Region: run compute in the bucket's Region to avoid latency and transfer charges.
- S3 Express One Zone: directory buckets in one AZ with single-digit millisecond latency for request-intensive workloads such as ML training.
- CloudFront in front of S3 for frequently read content served to users.
Faster S3 clients
Measuring S3 performance
Amazon S3 publishes two kinds of CloudWatch metrics, and they answer different questions. Daily storage metrics, such as BucketSizeBytes and NumberOfObjects, are free and enabled by default. Request metrics are charged and must be enabled with a metrics configuration, which can cover the whole bucket or be filtered by prefix, object tag or access point. They are reported every minute and include request counts, 4xxErrors, 5xxErrors, FirstByteLatency and TotalRequestLatency.
Request metrics show whether latency comes from S3 or from the client. If FirstByteLatency is low but the application is slow, the bottleneck is in the client, its network path or the size of the transfers, and parallel or byte-range requests help. A rising rate of 503 errors on one prefix points to the key design. For per-request detail, such as which client generated the traffic, server access logs or CloudTrail data events are used, and S3 Storage Lens, covered with storage classes, gives an organisation-wide view of usage and activity.
503 errors from a logging pipeline
A fleet writes events to s3://acme-events/events/<timestamp>.json at 8,000 PUT requests per second and receives frequent 503 Slow Down errors. All keys share one prefix, events/, so the fleet is limited to about 3,500 writes per second until S3 repartitions. Changing the key format to events/<shard 00-15>/<timestamp>.json, where the shard is derived from a hash of the producer ID, spreads writes over 16 prefixes. Together with SDK retries the errors disappear.
How can a large object be downloaded faster?
Show answer
With byte-range fetches, which retrieve parts of the object in parallel.
Exam Tips
Remember for the exam
- At least 3,500 writes and 5,500 reads per second per prefix; prefixes are unlimited.
- 503 Slow Down: retry with backoff and spread keys across prefixes.
- Byte-range fetches parallelise downloads and retrieve parts of objects.
- Keep compute in the same Region as the bucket.