| @@ -5,8 +5,8 @@ Each run's files are in `data/<run>/`, and every table below is |
| | again to check them. The files: `summary-*.json` and `events-*.jsonl.gz`, |
| | the soak's; where the machine was sampled, `samples.jsonl.gz` (each minute: |
| | each server's RSS, CPU and data directory, the free space, and from the |
| | second run spec-pds's fsync histogram and the disk's counters) and |
| | `kills.jsonl`; and `server-log.jsonl.gz`, spec-pds's log (`PDS_LOG_DIR`) |
| | second run Monolith's fsync histogram and the disk's counters) and |
| | `kills.jsonl`; and `server-log.jsonl.gz`, Monolith's log (`PDS_LOG_DIR`) |
| | cut to its `request`, `start`, `shutdown` and warning lines. |
| | |
| | The soak's own times ("The soak's times") are from a driver capped at half |
| @@ -19,11 +19,11 @@ server's own from its log. |
| | either server, across nine kills. Night 1's `lost` and `mismatches` are |
| | the soak's own, from before it knew that a follow or like replaces the |
| | account's others of the same subject ("nine hours"). |
| | - At rest spec-pds holds its live state, 1.08 times it; the reference five |
| | - At rest Monolith holds its live state, 1.08 times it; the reference five |
| | times it ("under load and at rest"). Under a day's window and hours of |
| | writes spec-pds held about twice the reference's ("nine hours"). |
| | writes Monolith held about twice the reference's ("nine hours"). |
| | - On the network volume a slow sync held up every write under way, with |
| | spec-pds's slow syncs and slow writes following the volume's flush time |
| | Monolith's slow syncs and slow writes following the volume's flush time |
| | (r 0.91 and 0.90); on the server's own disk neither did, and |
| | `createRecord`'s p99 fell from 162 ms to 17 ms ("the volume, then the |
| | server's own disk"). |
| @@ -45,7 +45,7 @@ starting it again. |
| | |
| | ## 2026-11-13: nine hours side by side |
| | |
| | spec-pds `1707f04` and the reference, each with its data on a Hetzner Volume |
| | Monolith `1707f04` and the reference, each with its data on a Hetzner Volume |
| | (network block storage); 50 accounts and 6 operations a second on each, |
| | from 07:08 to 16:14 UTC; four kills of each, in turn, 40 to 80 minutes apart. |
| | |
| @@ -61,45 +61,45 @@ node bench/soak/analyze.mjs bench/soak/data/night1 --to 2026-11-13T16:14 |
| | |
| | ### Totals (summary-*.json) |
| | |
| | | | reference | spec-pds | |
| | | | monolith | reference | |
| | | --- | --: | --: | |
| | | from, to | 07:08–16:13 | 07:08–16:13 | |
| | | accounts, records | 50, 109,868 | 50, 110,175 | |
| | | operations | 209,710 | 209,823 | |
| | | accounts, records | 50, 110,175 | 50, 109,868 | |
| | | operations | 209,823 | 209,710 | |
| | | 5xx | 0 | 0 | |
| | | rate limited (429) | 0 | 0 | |
| | | lost | 4,510 | 4,660 | |
| | | mismatches | 200 | 213 | |
| | | lost | 4,660 | 4,510 | |
| | | mismatches | 213 | 200 | |
| | | commits not on the firehose | 0 | 0 | |
| | | outages, their time | 4, 31.1 s | 3, 9.4 s | |
| | | outages, their time | 3, 9.4 s | 4, 31.1 s | |
| | |
| | ### The soak's times, by five-minute window (events-*.jsonl) |
| | |
| | Each window has its own p50 and p99 per operation; the median of them, and the worst p99. Times are the soak's, from request to answer. |
| | |
| | | operation | reference p50 | reference p99 | reference worst p99 | spec-pds p50 | spec-pds p99 | spec-pds worst p99 | |
| | | operation | monolith p50 | monolith p99 | monolith worst p99 | reference p50 | reference p99 | reference worst p99 | |
| | | --- | --: | --: | --: | --: | --: | --: | |
| | | post | 72.9 | 650.7 | 4059.9 | 9.9 | 289.3 | 1797.4 | |
| | | like | 75.4 | 649.9 | 4373.4 | 12.9 | 230.3 | 2598.5 | |
| | | applyWrites | 89.2 | 710.5 | 4484.2 | 13.7 | 307.1 | 2646.7 | |
| | | delete | 75.8 | 628.0 | 3866.6 | 11.1 | 226.7 | 1928.3 | |
| | | getRecord | 12.2 | 353.2 | 3544.1 | 2.5 | 70.4 | 722.2 | |
| | | listRecords | 18.0 | 403.7 | 2348.6 | 3.8 | 84.1 | 1812.6 | |
| | | getLatestCommit | 11.4 | 407.5 | 2950.8 | 2.1 | 100.2 | 2536.2 | |
| | | getRepo | 103.0 | 516.2 | 5539.1 | 17.6 | 43.1 | 2844.7 | |
| | | post | 9.9 | 289.3 | 1797.4 | 72.9 | 650.7 | 4059.9 | |
| | | like | 12.9 | 230.3 | 2598.5 | 75.4 | 649.9 | 4373.4 | |
| | | applyWrites | 13.7 | 307.1 | 2646.7 | 89.2 | 710.5 | 4484.2 | |
| | | delete | 11.1 | 226.7 | 1928.3 | 75.8 | 628.0 | 3866.6 | |
| | | getRecord | 2.5 | 70.4 | 722.2 | 12.2 | 353.2 | 3544.1 | |
| | | listRecords | 3.8 | 84.1 | 1812.6 | 18.0 | 403.7 | 2348.6 | |
| | | getLatestCommit | 2.1 | 100.2 | 2536.2 | 11.4 | 407.5 | 2950.8 | |
| | | getRepo | 17.6 | 43.1 | 2844.7 | 103.0 | 516.2 | 5539.1 | |
| | |
| | #### Events by kind |
| | |
| | | kind | reference | spec-pds | |
| | | kind | monolith | reference | |
| | | --- | --: | --: | |
| | | down | 4 | 3 | |
| | | found | 1 | 0 | |
| | | lost | 4,510 | 4,660 | |
| | | mismatch | 200 | 213 | |
| | | down | 3 | 4 | |
| | | found | 0 | 1 | |
| | | lost | 4,660 | 4,510 | |
| | | mismatch | 213 | 200 | |
| | | ready | 1 | 1 | |
| | | resumed | 1 | 1 | |
| | | seq jump | 0 | 5 | |
| | | up | 4 | 3 | |
| | | seq jump | 5 | 0 | |
| | | up | 3 | 4 | |
| | |
| | ### Kills (kills.jsonl) |
| | |
| @@ -128,7 +128,7 @@ Each window has its own p50 and p99 per operation; the median of them, and the w |
| | | 15:59 | 180 | 1,560 | 283 | 857 | 11 | |
| | | 16:13 | 195 | 1,597 | 284 | 880 | 11 | |
| | |
| | ### spec-pds's requests, server side (server-log.jsonl) |
| | ### Monolith's requests, server side (server-log.jsonl) |
| | |
| | Its `request` lines' `ms`. Starts in the log: 5. |
| | |
| @@ -168,10 +168,10 @@ Slow writes: 1,563. |
| | |
| | ## 2026-11-13: the volume, then the server's own disk |
| | |
| | The same accounts on both, from 16:27 to 18:40 UTC. At 17:01 spec-pds's data |
| | The same accounts on both, from 16:27 to 18:40 UTC. At 17:01 Monolith's data |
| | moved from the volume to the server's own disk (the reference's stayed on |
| | the volume), and the soak started again; at 18:11 spec-pds `3218378` was |
| | deployed; at 17:54 spec-pds was killed. The totals are from the soak's |
| | the volume), and the soak started again; at 18:11 Monolith `3218378` was |
| | deployed; at 17:54 Monolith was killed. The totals are from the soak's |
| | start at 17:01. Its `mismatch` are `getRecord`s answered `429` as it read |
| | every account back after its start, which it now takes as no answer; its |
| | `found`, writes a kill cut short that had landed. |
| @@ -182,44 +182,44 @@ node bench/soak/analyze.mjs bench/soak/data/day-local-disk --split 2026-11-13T17 |
| | |
| | ### Totals (summary-*.json) |
| | |
| | | | reference | spec-pds | |
| | | | monolith | reference | |
| | | --- | --: | --: | |
| | | from, to | 17:01–18:37 | 17:01–18:37 | |
| | | accounts, records | 50, 133,136 | 50, 133,930 | |
| | | operations | 38,854 | 39,279 | |
| | | accounts, records | 50, 133,930 | 50, 133,136 | |
| | | operations | 39,279 | 38,854 | |
| | | 5xx | 0 | 0 | |
| | | rate limited (429) | 381 | 300 | |
| | | rate limited (429) | 300 | 381 | |
| | | lost | 0 | 0 | |
| | | mismatches | 0 | 53 | |
| | | mismatches | 53 | 0 | |
| | | commits not on the firehose | 0 | 0 | |
| | | outages, their time | 0, 0.0 s | 1, 3.5 s | |
| | | outages, their time | 1, 3.5 s | 0, 0.0 s | |
| | |
| | ### The soak's times, by five-minute window (events-*.jsonl) |
| | |
| | Each window has its own p50 and p99 per operation; the median of them, and the worst p99. Times are the soak's, from request to answer. |
| | |
| | | operation | reference p50 | reference p99 | reference worst p99 | spec-pds p50 | spec-pds p99 | spec-pds worst p99 | |
| | | operation | monolith p50 | monolith p99 | monolith worst p99 | reference p50 | reference p99 | reference worst p99 | |
| | | --- | --: | --: | --: | --: | --: | --: | |
| | | post | 74.0 | 510.6 | 1847.7 | 7.0 | 201.5 | 1280.3 | |
| | | like | 76.8 | 543.3 | 1406.6 | 12.3 | 200.0 | 2184.6 | |
| | | applyWrites | 92.2 | 778.6 | 2182.8 | 10.9 | 195.7 | 4572.6 | |
| | | delete | 77.1 | 594.0 | 2790.5 | 8.5 | 190.9 | 1456.1 | |
| | | getRecord | 12.2 | 312.4 | 867.9 | 2.5 | 190.4 | 1388.2 | |
| | | listRecords | 21.1 | 402.2 | 1358.8 | 3.9 | 190.3 | 1732.1 | |
| | | getLatestCommit | 11.2 | 373.1 | 917.3 | 2.1 | 110.4 | 519.1 | |
| | | getRepo | 299.2 | 998.7 | 5205.9 | 34.2 | 75.1 | 1258.4 | |
| | | post | 7.0 | 201.5 | 1280.3 | 74.0 | 510.6 | 1847.7 | |
| | | like | 12.3 | 200.0 | 2184.6 | 76.8 | 543.3 | 1406.6 | |
| | | applyWrites | 10.9 | 195.7 | 4572.6 | 92.2 | 778.6 | 2182.8 | |
| | | delete | 8.5 | 190.9 | 1456.1 | 77.1 | 594.0 | 2790.5 | |
| | | getRecord | 2.5 | 190.4 | 1388.2 | 12.2 | 312.4 | 867.9 | |
| | | listRecords | 3.9 | 190.3 | 1732.1 | 21.1 | 402.2 | 1358.8 | |
| | | getLatestCommit | 2.1 | 110.4 | 519.1 | 11.2 | 373.1 | 917.3 | |
| | | getRepo | 34.2 | 75.1 | 1258.4 | 299.2 | 998.7 | 5205.9 | |
| | |
| | #### Events by kind |
| | |
| | | kind | reference | spec-pds | |
| | | kind | monolith | reference | |
| | | --- | --: | --: | |
| | | down | 0 | 1 | |
| | | found | 0 | 25 | |
| | | mismatch | 14 | 93 | |
| | | down | 1 | 0 | |
| | | found | 25 | 0 | |
| | | mismatch | 93 | 14 | |
| | | ready | 2 | 2 | |
| | | resumed | 2 | 2 | |
| | | seq jump | 0 | 5 | |
| | | up | 0 | 1 | |
| | | seq jump | 5 | 0 | |
| | | up | 1 | 0 | |
| | |
| | ### Kills (kills.jsonl) |
| | |
| @@ -240,7 +240,7 @@ Each window has its own p50 and p99 per operation; the median of them, and the w |
| | | 17:59 | 166 | 1,951 | 291 | 1,015 | 11 | |
| | | 18:40 | 196 | 2,138 | 292 | 1,063 | 11 | |
| | |
| | ### spec-pds's syncs (samples.jsonl: its fsync histogram, the disk's counters) |
| | ### Monolith's syncs (samples.jsonl: its fsync histogram, the disk's counters) |
| | |
| | | period | syncs | over 25 ms | over 100 ms | slow syncs ~ disk flush time (r, a sample apart) | |
| | | --- | --: | --: | --: | --: | |
| @@ -248,7 +248,7 @@ Each window has its own p50 and p99 per operation; the median of them, and the w |
| | | 17:01–18:11 | 14,337 | 2 | 0 | – | |
| | | 18:11–end | 6,400 | 1 | 0 | – | |
| | |
| | ### spec-pds's requests, server side (server-log.jsonl) |
| | ### Monolith's requests, server side (server-log.jsonl) |
| | |
| | Its `request` lines' `ms`. Starts in the log: 3. |
| | |
| @@ -300,7 +300,7 @@ Slow writes: 110. |
| | |
| | Both fresh, each its data on the server's own disk, a backfill window `W` |
| | of 2 minutes and the rate limits off; 20 accounts and 10 operations a second |
| | on each for 10 minutes, seed 7, spec-pds `1707f04`; then the settled check |
| | on each for 10 minutes, seed 7, Monolith `1707f04`; then the settled check |
| | (`README.md`). |
| | |
| | ```sh |
| @@ -309,11 +309,11 @@ node bench/soak/analyze.mjs bench/soak/data/at-rest |
| | |
| | ### Totals (summary-*.json) |
| | |
| | | | reference | spec-pds | |
| | | | monolith | reference | |
| | | --- | --: | --: | |
| | | from, to | 17:43–17:54 | 17:43–17:54 | |
| | | accounts, records | 20, 3,312 | 20, 3,338 | |
| | | operations | 6,178 | 6,209 | |
| | | accounts, records | 20, 3,338 | 20, 3,312 | |
| | | operations | 6,209 | 6,178 | |
| | | 5xx | 0 | 0 | |
| | | rate limited (429) | 0 | 0 | |
| | | lost | 0 | 0 | |
| @@ -325,20 +325,20 @@ node bench/soak/analyze.mjs bench/soak/data/at-rest |
| | |
| | Each window has its own p50 and p99 per operation; the median of them, and the worst p99. Times are the soak's, from request to answer. |
| | |
| | | operation | reference p50 | reference p99 | reference worst p99 | spec-pds p50 | spec-pds p99 | spec-pds worst p99 | |
| | | operation | monolith p50 | monolith p99 | monolith worst p99 | reference p50 | reference p99 | reference worst p99 | |
| | | --- | --: | --: | --: | --: | --: | --: | |
| | | post | 35.2 | 61.9 | 64.1 | 5.8 | 12.1 | 12.1 | |
| | | like | 36.5 | 268.4 | 268.4 | 6.2 | 13.5 | 13.5 | |
| | | applyWrites | 43.9 | 251.7 | 251.7 | 7.9 | 12.9 | 12.9 | |
| | | delete | 35.9 | 75.9 | 75.9 | 5.9 | 11.8 | 11.8 | |
| | | getRecord | 12.1 | 20.5 | 20.5 | 2.4 | 5.7 | 8.9 | |
| | | listRecords | 15.3 | 41.1 | 41.1 | 3.0 | 9.9 | 9.9 | |
| | | getLatestCommit | 11.7 | 19.8 | 19.8 | 2.2 | 4.6 | 4.6 | |
| | | getRepo | 28.9 | 87.0 | 87.0 | 4.7 | 6.6 | 6.6 | |
| | | post | 5.8 | 12.1 | 12.1 | 35.2 | 61.9 | 64.1 | |
| | | like | 6.2 | 13.5 | 13.5 | 36.5 | 268.4 | 268.4 | |
| | | applyWrites | 7.9 | 12.9 | 12.9 | 43.9 | 251.7 | 251.7 | |
| | | delete | 5.9 | 11.8 | 11.8 | 35.9 | 75.9 | 75.9 | |
| | | getRecord | 2.4 | 5.7 | 8.9 | 12.1 | 20.5 | 20.5 | |
| | | listRecords | 3.0 | 9.9 | 9.9 | 15.3 | 41.1 | 41.1 | |
| | | getLatestCommit | 2.2 | 4.6 | 4.6 | 11.7 | 19.8 | 19.8 | |
| | | getRepo | 4.7 | 6.6 | 6.6 | 28.9 | 87.0 | 87.0 | |
| | |
| | #### Events by kind |
| | |
| | | kind | reference | spec-pds | |
| | | kind | monolith | reference | |
| | | --- | --: | --: | |
| | | ready | 1 | 1 | |
| | | settled | 1 | 1 | |
| @@ -346,17 +346,17 @@ Each window has its own p50 and p99 per operation; the median of them, and the w |
| | |
| | #### The settled check |
| | |
| | | | reference, 17:58 | spec-pds, 17:58 | |
| | | | monolith, 17:58 | reference, 17:58 | |
| | | --- | --: | --: | |
| | | live state: repositories + blobs | 6.8 MiB (1 + 5.8) | 7.1 MiB (1 + 6.1) | |
| | | when the load stopped | 33.9 MiB | 25.6 MiB | |
| | | after 2 W with no write | 33.9 MiB | 16.6 MiB | |
| | | at rest, after a write to each | 33.9 MiB, 4.99 × live | 7.7 MiB, 1.08 × live | |
| | | the settled bound | 23.9 MiB: over | 24.9 MiB: within | |
| | | live state: repositories + blobs | 7.1 MiB (1 + 6.1) | 6.8 MiB (1 + 5.8) | |
| | | when the load stopped | 25.6 MiB | 33.9 MiB | |
| | | after 2 W with no write | 16.6 MiB | 33.9 MiB | |
| | | at rest, after a write to each | 7.7 MiB, 1.08 × live | 33.9 MiB, 4.99 × live | |
| | | the settled bound | 24.9 MiB: within | 23.9 MiB: over | |
| | |
| | ## 2026-11-13: settled, on a laptop |
| | |
| | `harness/dev.mjs` on an Apple laptop, `W` of 1 minute, spec-pds `1707f04`: |
| | `harness/dev.mjs` on an Apple laptop, `W` of 1 minute, Monolith `1707f04`: |
| | 5 accounts and 30 operations a second for 10 minutes, then the settled |
| | check, the server running throughout. |
| | |
| @@ -416,7 +416,7 @@ Each window has its own p50 and p99 per operation; the median of them, and the w |
| | `harness/dev.mjs` on an Apple laptop, `W` of 2 minutes: 5 accounts and 30 |
| | operations a second for 4 minutes, the server stopped, `2 W` with it down, |
| | started again on the same data, then the settled check with `SETTLE_ONLY`. |
| | At 16:58 spec-pds `1707f04`; at 17:15, after `2 W` and a start, `3218378`. |
| | At 16:58 Monolith `1707f04`; at 17:15, after `2 W` and a start, `3218378`. |
| | 45 accounts more, made by the soak at 16:53, each have one write. |
| | |
| | ```sh |
| |