S3 requests, side by side
S3 Standard HEAD, repeated-key GET, aged read-once GET and conditional PUT against S3 Express One Zone, over reused and new connections, and GET throughput from 1 to 64 connections.
partial17 of 18 figures live · AWS us-east-2
- No figure: aged Runs fail until objects seeded two days earlier exist
One small object, reused connection
4 KiB objects; each request on a connection already open| Colour | Setup | Variant | Machine | P50 | P99 | P99/P50 | Unit cost | Runs |
|---|---|---|---|---|---|---|---|---|
| Standard HEAD | Standardreused | c8i.2xlarge | 9.896 ms | 32.13 ms | ×3.2 | $0.4 /1M req | 6 | |
| Standard repeated-key GET | Standardreusedsame key every request | c8i.2xlarge | 22.94 ms | 33.42 ms | ×1.5 | $0.4 /1M req | 88 | |
| Standard GET, 48h aged, read once | Standardreused48h agedread once | c8i.2xlarge | — | — | — | $0.4 /1M req | 4 | |
| Standard PUT | Standardunconditional | c8i.2xlarge | 25.03 ms | 37.55 ms | ×1.5 | $5 /1M req | 6 | |
| Standard PUT, If-None-Match | Standardcreate only | c8i.2xlarge | 24.51 ms | 31.33 ms | ×1.3 | $5 /1M req | 6 | |
| Standard PUT, If-Match | Standardcompare and swap | c8i.2xlarge | 38.01 ms | 52.81 ms | ×1.4 | $5 /1M req | 6 | |
| Express HEAD | One Zonereused | c8i.2xlarge | 3.064 ms | 4.555 ms | ×1.5 | $0.03 /1M req | 6 | |
| Express GET | One Zonereused | c8i.2xlarge | 4.489 ms | 5.538 ms | ×1.2 | $0.03 /1M req | 6 | |
| Express PUT | One Zoneunconditional | c8i.2xlarge | 7.635 ms | 12.52 ms | ×1.6 | $1.13 /1M req | 6 |
Tail: P50 → P99.9
per operation, log scaleLatency histograms
pooled across counted Runs, each to its own peak
(one request each to the data API)
Reused against new connections
4 KiB objects; a new connection pays DNS, TCP and TLS before its first byte| Colour | Setup | Variant | Machine | P50 | P99 | P99/P50 | Unit cost | Runs |
|---|---|---|---|---|---|---|---|---|
| Standard HEAD, reused | Standardreused | c8i.2xlarge | 9.896 ms | 32.13 ms | ×3.2 | $0.4 /1M req | 6 | |
| Standard HEAD, new | Standardnew | c8i.2xlarge | 38.01 ms | 53.75 ms | ×1.4 | $0.4 /1M req | 6 | |
| Standard GET, reused | Standardreused | c8i.2xlarge | 22.94 ms | 33.42 ms | ×1.5 | $0.4 /1M req | 88 | |
| Standard GET, new | Standardnew | c8i.2xlarge | 28.70 ms | 56.37 ms | ×2.0 | $0.4 /1M req | 88 | |
| Express GET, reused | One Zonereused | c8i.2xlarge | 4.489 ms | 5.538 ms | ×1.2 | $0.03 /1M req | 6 |
Phases
each phase's own P50, one scaleStandard HEAD, reused
Standard HEAD, new
Standard GET, reused
Standard GET, new
Express GET, reused
- DNS
- Connect
- TLS
- Send
- First byte
- Headers
- Body
GET throughput, 16 MiB objects
Parallel GETs of one 16 MiB object, from one machine type where both buckets were measured on it; each bucket's sample window is shown on its row| Colour | Setup | Variant | Machine | P50 | P99 | Rate | Unit cost | Runs |
|---|---|---|---|---|---|---|---|---|
| Standard, 1 connection | Standard1 conn3,000 ms window | c8g.2xlarge | 168.8 ms | 173.0 ms | 99.15 MB/s | $3.21 /GB/s·h | 4 | |
| Express, 1 connection | One Zone1 conn1,500 ms window | c8g.2xlarge | 110.6 ms | 113.6 ms | 151.3 MB/s | $2.1 /GB/s·h | 4 | |
| Standard, 64 connections | Standard64 conns3,000 ms window | c8g.2xlarge | 509.6 ms | 2.466 s | 1.825 GB/s | $0.174 /GB/s·h | 4 | |
| Express, 64 connections | One Zone64 conns1,500 ms window | c8g.2xlarge | 526.4 ms | 1.028 s | 1.813 GB/s | $0.179 /GB/s·h | 4 |
16 MiB GETs, 1 to 64 connections
Saturation: throughput against P99
one line per bucket and machine, a point per connection count; log scalesCode & config
Benchmark docsSeries JSONStandard HEAD · c8i.2xlarge
217static outcome do_head_exchange(lm_s3_conn *c, const head_request *rq, head_exchange *x) {218 lm_s3_failure_none(&x->f);219 int e = lm_tls_write(c->tls, rq->text, rq->len);// …225 x->sent = lm_s3_now_mark();226 x->wrote = true;227 lm_http_response *resp = &x->resp;228 for (;;) {229 long n = lm_tls_read(c->tls, g_scratch, sizeof(g_scratch));230 if (n > 0) {231 if (!x->got_first) {232 x->first = lm_s3_now_mark();233 x->got_first = true;234 }235 size_t used = lm_http_feed(resp, g_scratch, (size_t)n);// …239 if (resp->state != LM_HTTP_HEAD) {240 /* HEAD response ends right after the header block: never read a body. */241 x->head = lm_s3_now_mark();242 x->got_head = true;// …252 x->end = lm_s3_now_mark();253 return DONE_RESPONSE;
Configuration
- benchmarkhttp_head
- buildstatic
- instancec8i.2xlarge
- regionus-east-2
- azuse2-az3
- services3_fixtures
- params.authsigv4
- params.budget_seconds120
- params.ca_file/etc/pki/tls/certs/ca-bundle.crt
- params.connectionreused
- params.gap_mean_ms100
- params.keyhttp_get/v1/4096
- params.resolv_conf/etc/resolv.conf
- params.timeout_ms10000