···2424just bench get-record 10 1000
2525just bench list-records 10 1000
2626just bench repo-size 5000
2727+just bench get-repo 5000 4 5
2728just bench repo-large 100000
2829just bench space 1000
2930just bench http
···5455 `listRecords(limit=100)` and full repo CAR materialization. The default Just
5556 target keeps this moderate; use `repo-large` for intentional 100k+ record
5657 runs.
5858+- `get-repo`: focused `com.atproto.sync.getRepo` storage-pressure probe. It
5959+ measures full repo CAR construction, `since` diff CAR construction after one
6060+ additional commit, and concurrent full exports against one seeded repo.
5761- `space`: experimental permissioned-data storage probes for space discovery,
5862 private record writes, private record reads/lists, repo oplog catch-up, and
5963 blob readback.
···121125whole-DID range-scan export path is intentionally no longer the production full
122126export behavior because it could include retained stale blocks.
123127128128+`just bench get-repo` is the narrower operator-facing lane for the same sync
129129+surface. It belongs here first because ZDS owns the storage and route behavior
130130+for serving repo exports. Cross-PDS HTTP comparisons, compression behavior, and
131131+live backfill traffic should live in `atproto-bench` once this local seam is
132132+stable enough to compare against other implementations.
133133+124134## methodology
125135126136- Build ZDS with `-Doptimize=ReleaseFast`.
···201211|---|---|
202212| repo writes | `write`, `metastore`, `write-profile` |
203213| repo reads | `get-cid`, `get-block`, `get-record`, `list-records` |
204204-| repo export/sync snapshots | `repo`, `repo-size` |
214214+| repo export/sync snapshots | `repo`, `repo-size`, `get-repo` |
205215| sync event storage | `metastore` write path plus smoke tests |
206216| blob storage | `blob`, `space` blob readback |
207217| HTTP routing/serialization/auth overhead | `http` |
···25253. Changed full export from whole-DID `repo_blocks` scan to current-root reachability.
26264. Added lightweight route backpressure for full `getRepo`, configurable with `ZDS_MAX_CONCURRENT_REPO_EXPORTS`.
27275. Ran `just bench repo-size`; reachable full export measured about 1.4 ms for 100 records, 16.8 ms for 1,000 records, and 95.7 ms for 5,000 records on the local synthetic benchmark.
2828+6. Added `just bench get-repo` as the focused storage-pressure lane for this route. It measures full export construction, one-commit `since` export construction, and concurrent full export latency against one seeded repo.
28292930Suggested next pass:
30313131-1. Add a larger deliberate `just bench repo-large 100000` run when we want stress numbers comparable to large public repos.
3232+1. Add a larger deliberate `just bench get-repo 100000 4 1` run when we want stress numbers comparable to large public repos.
3333+2. Add a cross-PDS HTTP/export comparison in `atproto-bench` once the ZDS-local storage seam is stable.