Measurement protocol

How the R2 vs OVH numbers are produced

Every figure on the dashboard comes from the same signed S3 client, run on a Google Cloud VM, against the public S3 endpoint of each provider. This page states what was measured, from where, with which client, and what the numbers do not cover. Nothing here is estimated: the raw per-request samples behind every chart are downloadable as CSV.

Measurement matrix · Targets · Metric definitions · How a run executes · Client machine · Reproduce it yourself · FAQ · Run provenance · Harness and source · Known limitations

What the benchmark answers, and what it does not

It answers three questions about the object storage API itself:

  1. From a distant site, is one provider significantly faster than the other for an object stored in Europe?
  2. From Europe, is there parity? A benchmark where one provider wins everywhere is a benchmark worth doubting.
  3. What does it cost, in latency, to duplicate data into a local region instead of using a single global bucket?

It does not measure: CDN or edge cache performance, browser timings, cache hit ratio, price, durability, support, or availability. Those are real decision criteria; they are simply outside this measurement.

Why the setup is not tilted toward Cloudflare

The benchmark is run by a Cloudflare employee, so the design has to survive the obvious objection. Each design choice below exists to remove a way the comparison could be unfair.

Objection Why it does not apply
Measured from Cloudflare's network The client runs on Google Cloud VMs. Both providers are reached over the public internet through their S3 endpoints: no Workers binding, no r2.dev, no custom domain, no CDN and no cache in the path. Cloudflare's network appears only as the public edge of R2, which is what any customer would hit.
A different client per provider One binary, one code path, one SDK (@aws-sdk/client-s3) and one signer (AWS Signature V4 (@smithy/signature-v4)) for every target. A provider is a row of configuration — endpoint, region, bucket, keys — not a branch in the measurement code.
R2 got the better location Every configured target is listed below. OVH is measured in every region configured for it — several of them in Europe — against a single R2 bucket. Proximity is the axis on which OVH is favoured, not disadvantaged.
The sizes were chosen to flatter one side The full matrix is published below and versioned by hash. It covers 1 KB to 5 GB, sequential and parallel, warm and cold, single-stream and multipart. Every size is published for every target, including the sizes where OVH wins.
Bad runs were removed Failed and aborted runs are excluded from the charts because they are partial by definition, but they are listed in the provenance table with their status. Nothing is deleted.
The aggregates were cooked Raw per-request samples are exported as CSV. Percentiles are computed from those rows, and p95/p99 are withheld below 10 observations instead of being invented.
We cannot verify any of it The harness binary is served with a published SHA-256 digest, the installer verifies it before executing anything, and the runner that provisions the VMs and drives the campaign is available in the harness section. The campaign can be replayed against your own buckets.

Measurement matrix

Protocol version 1 Harness version 1.0.0 Payload block 1 MB (1,048,576 bytes) Passes upload → download

Protocol hash (SHA-256 of the canonical matrix, also stored on every run):

61abb350a7febebd2ab43a244439078c1f0b2def2d875e4fcbc6032fff0c6cfb

Latency sizes

Size Warm GETs Warm PUTs Cold GETs
1 KB 50 20 5
4 KB 50 20 5
16 KB 50 20 5
64 KB 50 20 5
256 KB 50 20 5
1 MB 50 20 5

Sequential throughput

Size Transfers
8 MB 3
64 MB 3
256 MB 3
1 GB 3
5 GB 1

Parallel throughput

Size Concurrency Batches
1 MB 8 3
1 MB 32 3
64 MB 8 3
64 MB 32 3
1 GB 4 3

Single stream. One PUT and one GET of 1 GB, without multipart, to isolate a pure single-connection transfer from the chunked path.

Multipart. Above 100 MB, uploads use 8 MB parts with a queue of 4. That is what a real client does, and it is applied identically to every provider.

Targets

Targets are configuration, not code. They are read from the BENCH_TARGETS secret and served to the harness by GET /api/bootstrap; adding or removing a provider never requires redeploying the measurement client. Endpoints, bucket names and credentials are omitted here on purpose — they are not part of the protocol.

Target Provider Label Region Addressing
r2-weur cloudflare R2 · weur auto path
ovh-eu-west-par ovh OVH · EU-WEST-PAR (1-AZ) eu-west-par virtual
ovh-gra ovh OVH · GRA (1-AZ) gra virtual
ovh-sgp ovh OVH · SGP (1-AZ) sgp virtual

Metric definitions

TTFB — time to first byte
From the first byte sent to the first byte of the body received. It includes the server's processing time and, on warm measurements, excludes DNS, TCP and TLS.
Wall-clock throughput
Bytes divided by the total duration, waiting included. This is what a user actually experiences.
Effective throughput
Bytes divided by (total duration − TTFB). The gap between the two is the cost of the round trip on a small transfer, and both are published rather than one being chosen.
n
The number of successful observations behind an aggregate. Errors are counted separately and shown next to it.
p50, p95, p99
Median and tail percentiles of the raw samples. p95 and p99 are withheld below 10 observations; the median is always published with its n.
Cold DNS, TCP, TLS
Three numbers measured on three separate sockets, not a decomposition of a single request. They describe connection setup, not request latency.

How a run executes

  1. The harness fetches /api/bootstrap: targets with their credentials, the measurement matrix above, and the hard limits.
  2. It builds payloads from one random 1 MB block reused at every size. A repeated random block cannot be compressed by deflate (32 KB window), so it behaves like fresh random data without generating gigabytes of randomness. Free disk is checked against the guard before the first transfer.
  3. Upload pass — every PUT for every target and every size.
  4. Download pass — every GET, only once all uploads are done, so upload traffic never competes with download measurements.
  5. Every measurement is appended to a local journal before it is sent. On interruption the run is replayed minus acknowledged rows, and the server ignores duplicates on (run_id, uid), so a resume never inflates n.
  6. The run is closed as finished, aborted or failed. Completed target passes are recorded and skipped on resume.

Warm latency runs 50 sequential GETs and 20 PUTs per size on a single keep-alive socket (maxSockets: 1). Cold latency runs 5 GETs per size with a new connection each time. There is no retry in the measurement path: an error is recorded as an error, never smoothed away. Multipart and parallelism use the same parameters for every provider.

Client machine

One VM per site, provisioned by the campaign runner. A single VM measures every target in sequence, so the machine, the kernel, the Node version and the network path are identical for both providers within a run. The machine type actually used by each run is also stored on the run and listed in the provenance table below: if a run ever used a different machine, it shows there.

Machine type c3-highcpu-44 — 44 vCPU, 88 GiB RAM
Image Debian 13 (official debian-cloud image)
Boot disk 20 GiB pd-balanced
Scratch disk 50 GiB hyperdisk-balanced, 10,000 IOPS / 2,400 MB/s, XFS on /mnt/scratch
Network interface gVNIC, IPv4 only, ephemeral external IP
Service account none, no scopes
Access OS Login over IAP TCP forwarding; no public SSH
TCP stack BBR congestion control with the fq qdisc, 256 MiB max socket buffers, MTU probing
Lifetime 4h30m, then the instance and its disks are deleted
Sites europe-west1-b, us-east4-c, asia-southeast1-b, asia-northeast1-b

Payloads are written to the scratch disk — ~/.bench is symlinked to /mnt/scratch/.bench — because the protocol writes several gigabytes, the 20 GiB boot disk would not hold them, and disk I/O must never compete with the transfer being measured. nload runs on the VM during every run, so the interface graph can be watched live.

The ceilings that actually apply

The machine's NIC is rated 32 Gbit/s, but that is not the number that applies to traffic leaving Google's network. Without Tier_1 networking — which the runner does not enable, because no customer client is provisioned that way — Google Cloud caps internet egress at 7 Gbit/s and ingress at 30 Gbit/s, with 3 Gbit/s per TCP flow.

  • Fastest parallel download: 762 MB/s (6.09 Gbit/s), 20 % of the 30 Gbit/s ceiling.
  • Fastest parallel upload: 663 MB/s (5.30 Gbit/s), 76 % of the 7 Gbit/s ceiling.
  • Fastest single transfer: 96 MB/s (0.77 Gbit/s), 26 % of the 3 Gbit/s ceiling.

Read these against the ceiling, not against the provider's capacity. Uploads are the direction where the client's own limit comes into play first; downloads stay far from theirs. Both providers share the same ceilings within a run, so the comparison stays like-for-like: what the ceiling caps is the absolute number, not the ranking.

Reproduce it yourself

The setup is four read-only repositories: the harness itself — this Worker and the measurement client — then the R2 stack, the OVH stack, and the Google Cloud VM that runs the campaign. Terraform creates the two storage sides; the runner provisions the VM and replays the campaign. All four links are PIN-protected.

TerraformCloudflare R2 stack

PIN: 79851200

Cloudflare R2 bucket, its scoped API token, and the bench_env output the harness consumes.

https://mygit.antoinee.xyz/p/a4mudzt3pbnp

TerraformOVHcloud OVH stack

PIN: 87885596

OVHcloud object storage users and buckets for GRA, EU-WEST-PAR and SGP, plus the same bench_env output.

https://mygit.antoinee.xyz/p/l1qh1kplwchf

Google Cloud Campaign runner

PIN: 82508437

Google Cloud VMs, the gcloud commands that launch each site, and the campaign driver.

https://mygit.antoinee.xyz/p/r3dio0g4dx8k

Cloudflare Benchmark harness

PIN: 91583701

The Worker that serves this page and the protocol, and the measurement client under harness/ — the exact code that produced these numbers.

https://mygit.antoinee.xyz/p/bcokfz40h9ui

  1. terraform apply in the R2 stack and in the OVH stack. Each one prints a bench_env output: endpoints, regions, bucket names and keys for its own targets.
  2. npm run seed:targets merges both outputs into the BENCH_TARGETS secret, and npm run deploy ships this Worker with its D1 database.
  3. From the GCP VM, run the installer once with --dry-run to prove every target accepts a signed PUT, GET and DELETE, then run the full protocol. Both commands are in Harness and source.

If a number here cannot be reproduced, that is a finding worth reporting: the raw samples, the matrix hash, the harness digest and the machine details are all published precisely so the claim can be checked rather than trusted.

FAQ

The questions below are the ones this protocol invites. Each answer points at a number or a mechanism rather than at trust.

So is the client the bottleneck?

For downloads, no: the fastest parallel download is compared above with the 30 Gbit/s ingress ceiling. For uploads, partly at maximum parallelism: egress is capped at 7 Gbit/s, and the fastest 32-stream upload reached 76 % of it. Single transfers stay well below the per-flow cap, so the sequential numbers are not limited by the client.

This is why both numbers are published. A parallel upload figure that reaches the client ceiling is a lower bound on what the provider could absorb, not a measurement of its maximum.

Why not saturate the VM's network link on purpose?

Because that measures something else. Saturating the link needs hundreds of parallel flows and several client machines, and the result would describe Google Cloud's egress path and the provider's ingress capacity — not the storage API an application actually calls. The protocol measures what one client sees: per-request latency, and throughput at moderate parallelism.

The link is not ignored either: the fastest aggregate observed is published above next to the ceiling it competes with, so the reader can see exactly how much headroom was left.

Why one Node process on a 44-vCPU machine?

The other 43 vCPUs are headroom, not load. The client runs a single Node process with at most 32 concurrent transfers; spreading the load over 44 workers would mostly measure our own code, and would make the run impossible to reproduce on a normal machine. One process is also what most applications do.

Why not enable Tier_1 networking for 25 Gbit/s egress?

Because it would make the client unrepresentative. Tier_1 is an opt-in tier that no ordinary client enables; using it would raise our ceiling and quietly turn the benchmark into a measurement of the providers' ingress capacity. The default tier is kept, and its 7 Gbit/s egress ceiling is documented here instead of being hidden.

Why HTTP/1.1 and not HTTP/2 or HTTP/3?

Because that is what an S3 client speaks. The AWS SDK drives Node's HTTPS agent, S3 endpoints are HTTP/1.1, and a client using the signed S3 API in production uses the same stack. HTTP/2 or HTTP/3 would measure a path the customer does not have.

Why at most 32 concurrent transfers?

Enough to expose connection setup, queueing and the effect of parallelism; few enough to stay reproducible from a laptop or a small VM, and to keep most runs inside the client's bandwidth ceiling. Concurrency above 32 is not measured, and 32 is where the client ceiling starts to matter.

Why one VM per site, destroyed after every run?

A fresh boot disk and a fresh page cache, no TCP state carried over from a previous run, and no resource left running (and billed) afterwards. The scratch disk is deleted with the instance, and a --max-run-duration kill switch deletes the VM even if the operator disappears.

Why measure from Google Cloud at all?

Because it is a third party both providers can reason about, anyone can reproduce it, and the egress is paid by the benchmark rather than by a provider. Measuring from the customer's own network would be closer to their reality, but neither OVH nor the customer could replay it.

Why is a single transfer so much slower than the parallel total?

Because one TCP flow over a long path is limited by the congestion window and the round-trip time, not by the link. That is why the client runs BBR with large socket buffers, and why the protocol measures parallelism separately: one stream shows what a naive client gets, 32 streams show what the path can carry.

Run provenance

Every run ever ingested, newest first, with the facts needed to check it: where it ran, on which machine, with which harness version, and against which protocol hash. Compare a row's protocol hash with the one printed in the matrix section to confirm the run used this protocol; the column shows the first 12 characters, and /api/stats returns the full value for every run.

Run Label Site Zone Machine Harness Protocol hash Started Finished Status
run_01M8SCX34DC3V99A74XX28CP64 gcp-apse1 asia-southeast1 asia-southeast1-b c3-highcpu-44 1.0.0 61abb350a7fe… 2026-12-01 18:12Z 2026-12-01 21:52Z finished
run_01M8SCEXJTZMP77SBGS3E0J341 gcp-use4 us-east4 us-east4-c c3-highcpu-44 1.0.0 61abb350a7fe… 2026-12-01 18:04Z 2026-12-01 21:42Z finished
run_01M8SAVAEZBSQXMR48XEEJZVFW gcp-apse1 asia-southeast1 asia-southeast1-b c3-highcpu-44 1.0.0 61abb350a7fe… 2026-12-01 17:36Z 2026-12-01 18:08Z finished
run_01M8SAHTW98R2920WVX6K33N9D gcp-use4 us-east4 us-east4-c c3-highcpu-44 1.0.0 61abb350a7fe… 2026-12-01 17:31Z 2026-12-01 17:59Z finished
run_01M8S0KQ9WFMCH5Y49H2WP1RFE gcp-euw1 europe-west1 europe-west1-b c3-highcpu-44 1.0.0 61abb350a7fe… 2026-12-01 14:37Z 2026-12-01 18:04Z finished
run_01M8RMBSA79NDGJ3994K93ZX73 gcp-euw1 europe-west1 europe-west1-b c3-highcpu-44 1.0.0 61abb350a7fe… 2026-12-01 11:03Z 2026-12-01 14:32Z failed
run_01M8RK9FE2088VWS0C3QRVC1CK gcp-euw1 europe-west1 europe-west1-b c3-highcpu-44 1.0.0 61abb350a7fe… 2026-12-01 10:44Z 2026-12-01 10:54Z finished
run_01M8RFE8N7G604D3KX2122Q8GJ gcp-euw8 europe-west8 europe-west8-b e2-medium 1.0.0 61abb350a7fe… 2026-12-01 09:37Z 2026-12-01 09:47Z failed

Harness and source

The client is installed from this Worker and verified before it runs:

export BENCH_URL="https://objectstorage-bench.<subdomain>.workers.dev"
export BENCH_API_KEY="..."
curl -fsSL "$BENCH_URL/install.sh" | bash -s -- --label <site> --dry-run   # probe every target
curl -fsSL "$BENCH_URL/install.sh" | bash -s -- --label <site>             # full protocol
  • Installer: /install.sh — refuses non-Debian/Ubuntu systems, verifies Node's official SHASUMS256.txt, installs under $HOME/.bench without sudo.
  • Bundle: /engine.mjs with its digest /engine.mjs.sha256 — the installer refuses to execute a bundle whose SHA-256 does not match.
  • Runtime: Node 22.23.5, AWS SDK v3 @aws-sdk/client-s3@3.1181.0, multipart through @aws-sdk/lib-storage.
  • Disk guard: at least 10 GB free before the first transfer.

The four repositories — the harness, R2, OVH and the GCP runner — are listed with their links in Reproduce it yourself. The measurement engine itself is the bundle above: it is the exact code that produced these numbers, and its digest is published so a download can be compared with what ran.

Known limitations

These are the ways this benchmark can mislead, stated up front:

  • Single client, single machine type. Throughput is bounded by one Node process on one VM, and at 32 concurrent uploads the client approaches Google Cloud's internet egress ceiling — see Client machine for the observed figures. Machine types are listed per run and were not varied.
  • HTTP/1.1 over TLS only. No HTTP/2, no HTTP/3, no protocol-level tuning on either side.
  • 5 GB has n = 1 by design, so its p95 and p99 are empty. The median is published with its n.
  • Multipart above 100 MB aggregates parts. It is a real-world transfer, not a pure single-stream measurement; use the single-stream 1 GB mode for that.
  • Cold DNS can be near zero after warm lookups, because the OS resolver caches. It is reported as measured, not normalised.
  • No retry. A single failed request is recorded as an error and counted, which makes tail percentiles sensitive to transient failures.
  • One object at a time for latency. No mixed workload, no concurrent readers, no cache warming, no CDN.
  • Anycast versus regional. R2 is anycast and OVH regions are single-AZ. That difference is part of what is being measured, not something the protocol removes — the per-region results are published so the reader can judge it.
  • The client's clock is the only clock. Timings come from the VM's monotonic clock, not from server-side instrumentation, so client scheduling is inside the measurement.