Skip to content

resolver v1

Choose a tag to compare

@ricardojimenezperis ricardojimenezperis released this 25 Oct 13:58
· 0 commits to main since this release

resolver v1

Correction. The documentation in this tag states that resolver v1 has a block-size option and
that its standalone tests also passed with 1 KiB blocks. Both are wrong: resolver v1 uses fixed
2 KiB blocks, has no block-size option, and passed its 193 tests in that configuration only.
The correction is commit
9adc8b6d0bd8bfcff433b63895411efb710e7fa4
on the resolver-v1 branch; the tag is unchanged. The code, the FoundationDB integration and
the evaluation are not affected: they always used 2 KiB.

Resolver v1, a temporal conflict B+ tree for the FoundationDB Resolver (fdbserver/resolver/resolver1),
with its FoundationDB integration (btree-v1), tests, trace generator and evaluation scripts.

  • Tag resolver-v1, commit 990d78d9831266ac082adb8b6d61d30a9a910189, on upstream FoundationDB
    746d04926c6b30b7fb5ba3b4dfa3bfca19f56e9c.
  • Resolver v1 source: aff127286e68ea7933dc9ef502a7dbd760e1e43d, with its original history; fixed
    blocks of 2 KiB.
  • FoundationDB integration: c44fd2247be51c26ca48c56dcc0587fb7b54ea04. The FDB skip-list baseline is
    the binary built at the harness commit 1dfa7ffe6a5210c66e36a628552d10a7046649d0.
  • Reproduction: fdbserver/resolver/by5eval/README.md; evidence: fdbserver/resolver/by5eval/EVIDENCE.md
    (corrected at 9adc8b6d0).

Results at 6 GiB of history

The campaign uses the trace pilot-2000M-l0-7200.trace, the segment of batches 57,600 to 230,400
(5,400 s, cold start), two arms (FDB's skip list with a window of 265 s; btree-v1 with 98,300 pages
of 64 KiB) and one protocol (accounting runs, then three timing rounds with the arms alternated).
Times are whole-segment totals, medians of the three rounds; the ratio is the median of the ratios
paired by round.

Campaign Machine FDB btree-v1 btree-v1 / FDB Evidence
2026-10-23 AMD Ryzen 7 7700, core 7 1,043.874 s 2,078.613 s 1.991 (1.981 to 2.003) resolver-v1-evidence.tar.xz, 6gib-amd/

Every run decided the same transactions and no read was rejected; btree-v1 first discards
history at batch 22,492 and retains at least 582.9 s afterwards.

Assets

  • resolver-v1-evidence.tar.xz, 64,512,456 bytes, SHA-256
    e9138f3158588e99a6a0e30c62a551bc3972cb0ee36f3818be9c89a57f25211e: the campaign's runs of both
    arms, their analysis, the validation of the published binaries against the evaluated ones,
    and the coverage reports removed from the source tree.

Documentation

The design and evaluation documents of resolver v1 are published in
https://github.com/ricardojimenezperis/fdb-beyond-5s; this version is the snapshot
https://github.com/ricardojimenezperis/fdb-beyond-5s/tree/main/resolver/v1, and the article
https://ricardojimenezperis.com/systems/fdb-resolver-v1/ is its readable account.