S3

Status: Full
Default port: 9100
Compared against: LocalStack 3.8 (AWS S3 stand-in)

Scores are from main at a3232c9 (2026-11-30) unless noted. Full means a deep multi-phase differential suite matches the reference and real applications run on the wire; Preview means the suites are strong but app coverage, a local reference or a known gap is still missing. See How a wire is proven.

What was measured

151/151: same connection 132, second connection 5, restart 14.

SigV4 and presigned URLs checked against AWS's documented answers, since LocalStack skips signature checks. Loki, Mastodon media and Terraform state run on it.

(source: README.md, Wire scorecard)

Connect

aws --endpoint-url http://localhost:9100 s3 ls

This is an ordinary client command for illustration, not taken from the test suites. The exact client settings the suites use are in the scripts listed below.

Accounts: the superuser is postgres on a new install. Create users with CREATE USER ... PASSWORD over the PostgreSQL wire. How each wire authenticates, and which wires are open by default, is in Security.

Known gaps

  • Startup memory (fixed in the code; README still lists it open). The README's Nov 30 entry says startup reads every stored object body into memory (a 426 MB data directory restarted at about +9.2 GB RSS). In the code at 8a689c5c, startup streams the five _s3_* tables row by row and keeps only a body reference for each object, version and part; a read loads the body with one primary-key SELECT, and a body is dropped from memory after each successful write (source: src/protocol/s3/mod.rs, with_synergy_storage, persist_object, body_loader; src/protocol/s3/storage.rs, BodyRef, offload_object). Tested by test_restart_reloads_bodies_without_holding_the_table and test_offloaded_bodies_in_versioned_buckets in src/protocol/s3/mod.rs. A HEAD still loads the whole body (source: src/protocol/s3/mod.rs, read_object; src/protocol/s3/storage.rs, get_object). Detail: S3 protocol.
  • Not benchmarked yet.

(source: README.md, Known gaps, unless another file is named)

Re-run the proof

One command, from a clone of the repository (needs Docker, Python 3.10+ and Rust):

make prove ARGS='--wires s3'

This starts the reference engine in Docker next to a fresh SynergyDB, runs every phase and writes prove/out/latest/report.html. (source: prove/README.md)

By hand:

PYTHON=venv/bin/python test-scripts/wire-diff/run.sh s3

The by-hand steps (reference containers, Python packages, the all-wires diff config) are in Benchmarks and reproduction.

Proof files

  • docs/proof/2026-11-30/proof-pack-a3232c9/logs/s3-s3-diff.txt