S3 GET
http_get · compared across Services · 250 Series on 7 machine types · AWS us-east-2
From
Service
CPU
Aged
Connection
Key pool
Object
Order
| Compare | Service | Variant | Machine | P50 | P99 | Unit cost | Runs |
|---|---|---|---|---|---|---|---|
| S3 Standard | reused | c8g.2xlarge | 22.68 ms | 34.38 ms | $0.4 /1M req | 4 | |
| S3 Standard | reused | i4g.2xlarge | 22.68 ms | 35.41 ms | $0.4 /1M req | 4 | |
| S3 Standard | reused | m5.large | 22.68 ms | 33.43 ms | $0.4 /1M req | 89 | |
| S3 Standard | reused | c8a.2xlarge | 22.68 ms | 32.38 ms | $0.4 /1M req | 88 | |
| S3 Standard | reused | i4i.2xlarge | 22.68 ms | 33.82 ms | $0.4 /1M req | 87 | |
| S3 Standard | reused | c6i.8xlarge | 22.68 ms | 33.16 ms | $0.4 /1M req | 88 | |
| S3 Standard | reused | c8i.2xlarge | 22.94 ms | 33.42 ms | $0.4 /1M req | 88 | |
| S3 Standard | new | m5.large | 28.18 ms | 55.31 ms | $0.4 /1M req | 89 | |
| S3 Standard | new | c8a.2xlarge | 28.18 ms | 53.22 ms | $0.4 /1M req | 88 | |
| S3 Standard | new | i4i.2xlarge | 28.18 ms | 55.31 ms | $0.4 /1M req | 87 | |
| S3 Standard | new | c6i.8xlarge | 28.18 ms | 55.31 ms | $0.4 /1M req | 88 | |
| S3 Standard | new | c8i.2xlarge | 28.70 ms | 56.37 ms | $0.4 /1M req | 88 | |
| S3 Standard | new | c8g.2xlarge | 33.82 ms | 65.81 ms | $0.4 /1M req | 4 | |
| S3 Standard | new | i4g.2xlarge | 33.82 ms | 71.85 ms | $0.4 /1M req | 4 |
Compared:S3 Standard · m5.large · newS3 Standard · c8g.2xlarge · reusedS3 Standard · c8i.2xlarge · new
Tail: P50 → P99.9
per operation, log scalePhases
each phase's own P50, one scaleS3 Standard · m5.large · new
S3 Standard · c8g.2xlarge · reused
S3 Standard · c8i.2xlarge · new
- DNS
- Connect
- TLS
- Send
- First byte
- Headers
- Body
Latency histograms
pooled across counted Runs, each to its own peak
(one request each to the data API)
Over time
newest counted Runs, each Run's P50(one request each to the data API)
What this measures
How long an HTTPS GET of an object takes, from the box to the S3 endpoint its Service names, over a new connection per request or over one kept connection, one request at a time on one thread, each request after the first preceded by a pause whose mean is gap_mean_ms: a lightly loaded client.
What it does not measure
- One thread sends one request at a time, with a pause before each request after the first whose mean is
gap_mean_ms. It is not S3 under load. - With
connectionreusedthe requests have no DNS, TCP or TLS phase, so they do not show the cost of a new connection. - A same-region Series (
s3_fixturesors3_expressfrom a box inus-east-2, ors3_fixtures_<region>from a remote box in that same Region) does not show cross-Region latency; cross-Region Series (servicenaming another Region's bucket, or a remote box fetchings3_fixtures) do.
Code & config
Benchmark docsSeries JSONS3 Standard · c8i.2xlarge · from us-east-2 · not aged · new · one key · 4 KiB
984static outcome do_exchange(connection *c, const request *rq, exchange *x) {985 failure_none(&x->f);986 int e = lm_tls_write(c->tls, rq->text, rq->len);// …992 x->sent = now_mark();// …1033 if (resp->state == LM_HTTP_DONE) {1034 if (surplus_found(c, x, unread)) return DONE_FAILED;1035 x->end = now_mark();1036 return DONE_RESPONSE;// …1271 s.start = now_mark();1272 bool ok = open_connection(conn, &q, &s);1273 outcome o = DONE_FAILED;1274 if (ok) {1275 o = do_exchange(conn, rq, x);1276 conn->requests++;1277 }
Configuration
- benchmarkhttp_get
- buildstatic
- instancec8i.2xlarge
- regionus-east-2
- azuse2-az3
- services3_fixtures
- params.authsigv4
- params.budget_seconds240
- params.ca_file/etc/pki/tls/certs/ca-bundle.crt
- params.connectionnew
- params.gap_mean_ms200
- params.keyhttp_get/v1/4096
- params.object_bytes4096
- params.resolv_conf/etc/resolv.conf
- params.timeout_ms10000